Permalink
Browse files

Searing Totem and Magma Totem have same spell crit chance like caster

Signed-off-by: dr.skull <dr.skull@centrum.sk>
  • Loading branch information...
1 parent 1abb447 commit b285d7510ff78b01afcc2a55e02f4c6222bfb4dd @drskull committed Jan 24, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/server/game/Entities/Unit/Unit.cpp
@@ -10984,6 +10984,12 @@ bool Unit::isSpellCrit(Unit* victim, SpellInfo const* spellProto, SpellSchoolMas
return true;
break;
}
+ // Player Fire Totems have same spell crit chance like Player spell crit
+ if (isTotem() && IS_PLAYER_GUID(GetOwnerGUID()) && schoolMask & SPELL_SCHOOL_MASK_FIRE)
+ {
+ return GetOwner()->isSpellCrit(victim, spellProto, schoolMask, attackType);
+ break;
+ }
break;
}
}

0 comments on commit b285d75

Please sign in to comment.