mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[8266] Move percent spells with flat energize effect spells to effect code.
* This is fix talent 51521 and ranks. * And replace hardcoded percent for talent 31876 and ranks.
This commit is contained in:
parent
f0a878bf1e
commit
8d7f6e5e0a
3 changed files with 12 additions and 17 deletions
|
|
@ -5555,7 +5555,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
|||
case 31877:
|
||||
case 31878:
|
||||
target = this;
|
||||
basepoints0 = GetCreatePowers(POWER_MANA) * 25 / 100;
|
||||
triggered_spell_id = 31930;
|
||||
|
||||
// Replenishment
|
||||
|
|
@ -6879,10 +6878,6 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB
|
|||
return false;
|
||||
break;
|
||||
}
|
||||
// Improved Stormstrike
|
||||
case 63375:
|
||||
basepoints0 = int32(GetCreateMana() * triggerAmount / 100);
|
||||
break;
|
||||
}
|
||||
|
||||
if( cooldown && GetTypeId()==TYPEID_PLAYER && ((Player*)this)->HasSpellCooldown(trigger_spell_id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue