mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Elf bug
This commit is contained in:
parent
36191d835f
commit
16efddd24f
4
Classic/scripts/projectiles.cs
Normal file → Executable file
4
Classic/scripts/projectiles.cs
Normal file → Executable file
|
|
@ -393,7 +393,7 @@ function TargetingLaserImage::onFire(%data,%obj,%slot)
|
|||
|
||||
function ShockLanceImage::onFire(%this, %obj, %slot)
|
||||
{
|
||||
//Added Spawn Invinciblity check
|
||||
// Added Spawn Invinciblity check
|
||||
if(%obj.client > 0)
|
||||
{
|
||||
%obj.setInvincibleMode(0, 0.00);
|
||||
|
|
@ -582,7 +582,7 @@ function ELFProjectileData::targetDestroyedCancel(%data, %projectile, %target, %
|
|||
function ELFProjectile::checkELFStatus(%this, %data, %target, %targeter)
|
||||
{
|
||||
%class = %targeter.getClassName();
|
||||
if(isObject(%target))
|
||||
if(isObject(%target) && isObject(%targeter)) //Added %targeter for niche cases
|
||||
{
|
||||
if(%target.getDamageState() $= "Destroyed")
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue