Fixed Merc spell recast timers, changed how Mercs add mobs to their hate lists (should prevent IsEngaged() issues), initial Caster DPS Merc spell casting AI, initial Merc stance implementation, Mercs now suspend when their owner dies to prevent them being bugged (until it can be fixed), added 2 seconds between spell casts to be live-like.

This commit is contained in:
badcaptain committed 2013-03-14 19:51:29 -04:00
1 parent af1f87a00f
commit 0a805feeec
11 files changed
+1104 -130

No files matched your search

+4
View File
@@ -1441,6 +1441,10 @@ void Client::Death(Mob* killerMob, int32 damage, uint16 spell, SkillType attack_
SetHorseId(0);
dead = true;
if(GetMerc()) {
GetMerc()->Suspend();
}
parse->EventPlayer(EVENT_DEATH, this, "", 0);
if (killerMob != NULL)