diff options
author | megamage <none@none> | 2009-07-31 11:00:25 +0800 |
---|---|---|
committer | megamage <none@none> | 2009-07-31 11:00:25 +0800 |
commit | 94aa35c8286110d3bcac73574b350336deef9d85 (patch) | |
tree | 7d940af45e5e92264b67cfb8cf5ecdd0ab756eb0 | |
parent | ad1752ca846ca9245bef82b48bd54ccdb986aeb3 (diff) |
*Use triggerAmount instead of fixed number for improved stormstrike. Author: nos4r2zod
--HG--
branch : trunk
-rw-r--r-- | src/game/Unit.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 7489341338e..825e552dc6f 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7873,9 +7873,10 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig ((Player*)this)->RemoveSpellCategoryCooldown(1209, true); break; } - case 63375: // Improved Stormstrike + // Improved Stormstrike + case 63375: { - basepoints0 = GetCreateMana() * 0.20f; + basepoints0 = int32(GetCreateMana() * triggerAmount / 100); break; } // Maelstrom Weapon |