[Spells] SPA 299 Wake the Dead updates and crash fixes. SPA 306 Army of Dead implemented. (#1929)

* start

* wtd fix v1

* Update aa.cpp

* rework done, army of dead supported

* debugs

* Update aa.cpp

* Update spdat.h
This commit is contained in:
KayenEQ
2022-01-16 14:55:51 -05:00
committed by GitHub
parent 5f482a9b30
commit 5ebbbf647b
9 changed files with 259 additions and 138 deletions
+2 -1
View File
@@ -2915,8 +2915,9 @@ void Mob::AddToHateList(Mob* other, uint32 hate /*= 0*/, int32 damage /*= 0*/, b
}
}
if (other->GetTempPetCount())
if (other->GetTempPetCount()) {
entity_list.AddTempPetsToHateList(other, this, bFrenzy);
}
if (!wasengaged) {
if (IsNPC() && other->IsClient() && other->CastToClient())