corrected mob to use correct substate

- added global tick
- stubbed some more functions
- added checks for engaged/dead
- todo: everything else
This commit is contained in:
Tahir Akhlaq
2017-06-14 20:01:15 +01:00
parent b9bfe5e985
commit 2c9ae60bbf
9 changed files with 131 additions and 36 deletions

View File

@@ -9,6 +9,7 @@ using FFXIVClassic_Map_Server.actors;
using FFXIVClassic_Map_Server.actors.chara;
using FFXIVClassic_Map_Server.actors.chara.ai;
using FFXIVClassic_Map_Server.actors.chara.ai.controllers;
using FFXIVClassic_Map_Server.packets.send.actor;
namespace FFXIVClassic_Map_Server.Actors
{
@@ -19,6 +20,7 @@ namespace FFXIVClassic_Map_Server.Actors
: base(actorNumber, actorClass, uniqueId, spawnedArea, posX, posY, posZ, rot, actorState, animationId, customDisplayName)
{
this.aiContainer = new AIContainer(this, new MobController(this), new PathFind(this), new TargetFind(this));
this.currentSubState = SetActorStatePacket.SUB_STATE_MONSTER;
}
}
}