Jump to content

[Spell] Mana Barrier


Azelen

Recommended Posts

What bug does the patch fix? What features does the patch add?

Implement Lady Deathwhisper's Mana Barrier Spell http://www.wowhead.com/spell=70842/mana-barrier

For which repository revision was the patch created?

11799

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

no

Who has been writing this patch? Please include either forum user names or email addresses.

me

Patch:

http://paste2.org/p/1671139

I am not sure if its correct its my first try :P Especially not sure about part

triggerTarget->EnergizeBySpell(triggerTarget, 70842, 0-damage, POWER_MANA);

Note: tested and works.

Link to comment
Share on other sites

Ok :D just wasnt sure how to work with unint32

Edit: I was getting compiling error like "cannot apply sign to value of unsigned type".

Well wowhead doesnt have any spell that it triggers, and not just this spell i checked some other spells i found in close to this code part and all of them had no any triggered spells linked just "Triggering spell every %s secs".

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use