Core/Spells: add SPELL_ATTR_CU_IGNORE_ARMOR to the avalible custom attribute list, make some spells use the attribute. Research made with JohnHoliver and Shauren
--HG-- branch : trunk
This commit is contained in:
@@ -3992,7 +3992,7 @@ bool ChatHandler::HandleDamageCommand(const char * args)
|
||||
|
||||
SpellSchoolMask schoolmask = SpellSchoolMask(1 << school);
|
||||
|
||||
if (schoolmask & SPELL_SCHOOL_MASK_NORMAL)
|
||||
if (Unit::IsDamageReducedByArmor(schoolmask))
|
||||
damage = m_session->GetPlayer()->CalcArmorReducedDamage(target, damage, NULL, BASE_ATTACK);
|
||||
|
||||
char* spellStr = strtok((char*)NULL, " ");
|
||||
|
||||
Reference in New Issue
Block a user