Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SpellAuraProcResult Unit::HandleObsModHealthProc(Unit* pVictim, uint32 damage, Aura* triggeredByAura, SpellEntry const *procSpell, uint32 procFlag, uint32 procEx, uint32 cooldown)
- {
- if (triggeredByAura->GetId() == 44521)
- {
- SetHealth(GetMaxHealth());
- SetPower(POWER_MANA, GetMaxPower(POWER_MANA));
- SetPower(POWER_ENERGY, GetMaxPower(POWER_ENERGY));
- }
- return SPELL_AURA_PROC_OK;
- }
Add Comment
Please, Sign In to add comment