Fixed a bad damage variable

Fixed a bad local variable call in rapier.cs.
This commit is contained in:
Robert Fritzen 2017-10-17 16:16:23 -05:00
parent 5106a3fbff
commit a1b4bcecfe

View file

@ -157,7 +157,7 @@ function RapierZombieArmor::zCarryLoop(%datablock, %zombie, %target, %count) {
if(%count == 50) {
%chance = getRandom(1, 3);
if(%chance == 3) {
%target.damage(0, %tpos, 10.0, $DamageType::Zombie);
%target.damage(0, %target.getPosition(), 10.0, $DamageType::Zombie);
}
else {
%target.isFTD = 1;