Core/Spells: Implementation of QAston proc system
This commit is contained in:
1 parent
1f96c1f268
commit
51f26dfe51
25 files changed
+1200
-3980
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user