Core/Spells fix Arcane Missiles

- close #15902

(cherry picked from commit 5fae63804ceb61dd009ac77f76911605e255b5c8)
This commit is contained in:
ShinDarth
2016-03-21 18:50:55 +01:00
committed by Shauren
parent 6ed2cde773
commit d14de35335
+1 -1
View File
@@ -11071,7 +11071,7 @@ void Unit::ModSpellDurationTime(SpellInfo const* spellInfo, int32 & duration, Sp
// called from caster
if (Player* modOwner = GetSpellModOwner())
modOwner->ApplySpellMod(spellInfo->Id, SPELLMOD_DURATION, duration, spell);
modOwner->ApplySpellMod(spellInfo->Id, SPELLMOD_CASTING_TIME, duration, spell);
if (!(spellInfo->HasAttribute(SPELL_ATTR0_ABILITY) || spellInfo->HasAttribute(SPELL_ATTR0_TRADESPELL) || spellInfo->HasAttribute(SPELL_ATTR3_NO_DONE_BONUS)) &&
((GetTypeId() == TYPEID_PLAYER && spellInfo->SpellFamilyName) || GetTypeId() == TYPEID_UNIT))