mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-12 06:34:35 +00:00
Moved
This commit is contained in:
parent
2ce1a1c8ff
commit
e73ec0069d
2 changed files with 7 additions and 14 deletions
|
|
@ -200,20 +200,6 @@ function GameBaseData::onAdd(%data, %obj)
|
||||||
%obj.target = -1;
|
%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
|
// 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)
|
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
|
// z0dd - ZOD, 4/10/04. ilys - Added rapidfire shocklance fix
|
||||||
if(%obj.cantfire !$= "")
|
if(%obj.cantfire !$= "")
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue