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

@ -954,11 +954,12 @@ namespace FFXIVClassic_Map_Server
public void ZoneThreadLoop(Object state)
{
// todo: spawn new thread for each zone on startup
lock (zoneList)
{
var tick = DateTime.Now;
Program.Tick = DateTime.Now;
foreach (Zone zone in zoneList.Values)
zone.Update(tick);
zone.Update(Program.Tick);
}
}