Air Rapier Zombies

Added the new AI capabilities to air rapiers. They will still function
just like before. Missile damage has been increased.
This commit is contained in:
Robert Fritzen 2017-10-17 16:12:59 -05:00
parent 923eb2ce37
commit 5106a3fbff
4 changed files with 160 additions and 169 deletions

View file

@ -3017,7 +3017,7 @@ function Armor::onCollision(%this,%obj,%col,%forceVehicleNode)
%col.iscarrying = 1;
%obj.grabbed = 1;
%obj.damage(0, %obj.position, 0.2, $DamageType::Zombie);
%col.killingPlayer = schedule(10, 0, "RkillLoop", %col, %obj, 0);
%col.killingPlayer = %col.getDatablock().zCarryLoop(%col, %obj, 0); // schedule(10, 0, "RkillLoop", %col, %obj, 0);
}
}
else if(%colarmortype $= "ShifterZombieArmor" && %obj.Infected != 1 && %objiszomb != 1 && !%obj.rapierShield){