renamed mob stuff to battlenpc

- stubbed spawn/die/despawn functions
This commit is contained in:
Tahir Akhlaq 2017-07-07 22:08:48 +01:00
parent cc1929a9fb
commit d895357182
10 changed files with 63 additions and 124 deletions

View file

@ -643,9 +643,9 @@ namespace FFXIVClassic_Map_Server.Actors
return currentSubState == SetActorStatePacket.SUB_STATE_PLAYER && this is Player ? ((Player)this) : null;
}
public Mob GetAsMob()
public BattleNpc GetAsMob()
{
return currentSubState == SetActorStatePacket.SUB_STATE_MONSTER && this is Mob ? ((Mob)this) : null;
return currentSubState == SetActorStatePacket.SUB_STATE_MONSTER && this is BattleNpc ? ((BattleNpc)this) : null;
}
public Npc GetAsNpc()