Decouple zone calls, cleanup logic

This commit is contained in:
Akkadius
2020-04-19 04:36:39 -05:00
parent ebda1cf601
commit 373fb3f0e7
57 changed files with 705 additions and 467 deletions
+2 -1
View File
@@ -28,6 +28,7 @@
#include "string_ids.h"
#include "worldserver.h"
#include "zonedb.h"
#include "zone_store.h"
#include "position.h"
float Mob::GetActSpellRange(uint16 spell_id, float range, bool IsBard)
@@ -554,7 +555,7 @@ int Client::GetDiscSlotBySpellID(int32 spellid)
if(m_pp.disciplines.values[i] == spellid)
return i;
}
return -1;
}