mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-23 18:14:44 +00:00
Moved
This commit is contained in:
parent
2ce1a1c8ff
commit
e73ec0069d
|
|
@ -200,20 +200,6 @@ function GameBaseData::onAdd(%data, %obj)
|
|||
%obj.target = -1;
|
||||
}
|
||||
|
||||
//Fix for shocklance spawn invinciblity on spawn
|
||||
function ShockLanceImage::onFire(%this, %obj, %slot)
|
||||
{
|
||||
%p = parent::onFire(%this, %obj, %slot);
|
||||
|
||||
if(%obj.client > 0)
|
||||
{
|
||||
%obj.setInvincibleMode(0, 0.00);
|
||||
%obj.setInvincible( false );
|
||||
}
|
||||
|
||||
return %p;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
// Prevent package from being activated if it is already
|
||||
|
|
|
|||
|
|
@ -393,6 +393,13 @@ function TargetingLaserImage::onFire(%data,%obj,%slot)
|
|||
|
||||
function ShockLanceImage::onFire(%this, %obj, %slot)
|
||||
{
|
||||
//Added Spawn Invinciblity check
|
||||
if(%obj.client > 0)
|
||||
{
|
||||
%obj.setInvincibleMode(0, 0.00);
|
||||
%obj.setInvincible( false );
|
||||
}
|
||||
|
||||
// z0dd - ZOD, 4/10/04. ilys - Added rapidfire shocklance fix
|
||||
if(%obj.cantfire !$= "")
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue