Core/Spells: Implementation of QAston proc system

This commit is contained in:
ariel- authored and roc13x committed 2017-05-03 20:08:08 +01:00
1 parent 1f96c1f268
commit 51f26dfe51
25 files changed
+1200 -3980

No files matched your search

+1 -1
View File
@@ -781,7 +781,7 @@ class spell_warl_health_funnel : public SpellScriptLoader
uint32 damage = caster->CountPctFromMaxHealth(aurEff->GetBaseAmount());
if (Player* modOwner = caster->GetSpellModOwner())
modOwner->ApplySpellMod(GetId(), SPELLMOD_COST, damage);
modOwner->ApplySpellMod<SPELLMOD_COST>(GetId(), damage);
SpellNonMeleeDamage damageInfo(caster, caster, GetSpellInfo()->Id, GetSpellInfo()->SchoolMask);
damageInfo.damage = damage;