Added sanity fixes for testing

This commit is contained in:
Xackery
2022-09-02 10:49:18 -07:00
parent ee54a7eb5f
commit e0f9d9a8db
6 changed files with 26 additions and 3 deletions
+6
View File
@@ -4295,6 +4295,12 @@ void Mob::TriggerDefensiveProcs(Mob *on, uint16 hand, bool FromSkillProc, int da
if (!on) {
return;
}
if (on->GetHP() == 0) {
return;
}
if (on->HasDied()) {
return;
}
if (!FromSkillProc) {
on->TryDefensiveProc(this, hand);