mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Added sanity fixes for testing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user