[CORE/SPELLS] Shaman Fire totems #4938

Closed
wants to merge 1 commit into
from
View
6 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;
}
}