diff options
| author | megamage <none@none> | 2009-03-29 17:21:06 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-29 17:21:06 -0600 |
| commit | 7668b6aae6c9d67395f599681c61225a0daafd19 (patch) | |
| tree | c993978cf450658548cd2d5a1d7f59ebca23ce7f /src/game/Unit.cpp | |
| parent | 77d27860919bd46d6f65d3e37e9f94bd5396cd1f (diff) | |
[7583] Use instead BasePoints+1 hardcoded formula more correct BasePoint+BaseDice hide in special helper function. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 5c08b728307..d10fbbc98da 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7257,7 +7257,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB } // percent stored in effect 1 (class scripts) base points int32 cost = originalSpell->manaCost + originalSpell->ManaCostPercentage * GetCreateMana() / 100; - basepoints0 = cost*(auraSpellInfo->EffectBasePoints[1]+1)/100; + basepoints0 = cost*auraSpellInfo->CalculateSimpleValue(1)/100; trigger_spell_id = 20272; target = this; } |
