Core/Spells: SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT improvement

*Now it'll correctly increase\decrease % of power
*Added helper function for modify power with percent ammount
This commit is contained in:
Chaplain committed 2011-10-12 01:11:52 +03:00
1 parent 44c55f78e0
commit 3e9611578c
4 files changed
+22 -2

No files matched your search

+1 -1
View File
@@ -3094,7 +3094,7 @@ void SpellMgr::LoadDbcDataCorrections()
// with this spell atrribute aura can be stacked several times
spellInfo->Attributes &= ~SPELL_ATTR0_NOT_SHAPESHIFT;
break;
case 64904: //Hymn of Hope
case 64904: // Hymn of Hope
spellInfo->EffectApplyAuraName[EFFECT_1] = SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT;
break;
case 30421: // Nether Portal - Perseverence