mirror of
https://github.com/PhantomGamesDevelopment/TWM2.git
synced 2026-07-16 00:44:41 +00:00
Fixed a bad damage variable
Fixed a bad local variable call in rapier.cs.
This commit is contained in:
parent
5106a3fbff
commit
a1b4bcecfe
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ function RapierZombieArmor::zCarryLoop(%datablock, %zombie, %target, %count) {
|
||||||
if(%count == 50) {
|
if(%count == 50) {
|
||||||
%chance = getRandom(1, 3);
|
%chance = getRandom(1, 3);
|
||||||
if(%chance == 3) {
|
if(%chance == 3) {
|
||||||
%target.damage(0, %tpos, 10.0, $DamageType::Zombie);
|
%target.damage(0, %target.getPosition(), 10.0, $DamageType::Zombie);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
%target.isFTD = 1;
|
%target.isFTD = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue