added a status effect container

- added status effect container to mobs and player objects (maybe should add to all Characters?)
- todo: handle gain/tick/lose in lua, send packets, everything else
This commit is contained in:
Tahir Akhlaq 2017-06-15 21:00:51 +01:00
parent 637f7f3d95
commit 6b023ceb3c
7 changed files with 178 additions and 5 deletions

View file

@ -17,7 +17,9 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers
public override void Update(DateTime tick)
{
// todo: handle player stuff on tick
((Player)this.owner).statusEffects.Update(tick);
}
public override void ChangeTarget(Character target)