mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
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:
@@ -17,7 +17,8 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.controllers
|
||||
|
||||
public override void Update(DateTime tick)
|
||||
{
|
||||
|
||||
// todo: handle aggro/deaggro and other shit here
|
||||
((Mob)this.owner).statusEffects.Update(tick);
|
||||
}
|
||||
|
||||
public override bool Engage(Character target)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user