Merge pull request #301 from KayenEQ/Development

Fix for numhits counter being decreased 2x for Outgoing Hit Success from...
This commit is contained in:
Michael Cook (mackal)
2014-11-26 15:27:43 -05:00
8 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -5595,8 +5595,8 @@ void Mob::CheckNumHitsRemaining(uint8 type, uint32 buff_slot, uint16 spell_id)
}
}
}
} else if (type == 7) {
if (buff_slot > 0) {
} else if (type == NUMHIT_MatchingSpells) {
if (buff_slot >= 0) {
if (--buffs[buff_slot].numhits == 0) {
CastOnNumHitFade(buffs[buff_slot].spellid);
if (!TryFadeEffect(buff_slot))