mirror of
https://github.com/PhantomGamesDevelopment/TWM2.git
synced 2026-03-03 20:40:34 +00:00
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:
parent
923eb2ce37
commit
5106a3fbff
4 changed files with 160 additions and 169 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue