Jump to content

Peppers

Members
  • Posts

    4
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Peppers

  1. And I didn't found how to get threat made by last attack, not all threat. Or maybe i'm missing something?

    Well I thinking this way:

    To get Misdirection Target i could use getUnitTarget() if it do what i think.

    When get attacks aggro(don't know how to do that, i don't know if this would be safe, but maybe check before adding agro to target if he has aura-34477, and then save it).

    Redirect threat to getUnitTarget().

    Use one of the use(still looking for the code to do that :D )

    Cancel aura if one of the side cancels.

    P.s. I'm just trying to get mangos code as much as posible.

  2. Rev.: 6630

    Index: SharedDefines.h
    ===================================================================
    --- SharedDefines.h        (revision 6630)
    +++ SharedDefines.h        (working copy)
    @@ -632,7 +632,7 @@
            SPELL_EFFECT_PROSPECTING                             = 127,
            SPELL_EFFECT_APPLY_AREA_AURA_FRIEND        = 128,
            SPELL_EFFECT_APPLY_AREA_AURA_ENEMY         = 129,
    -        SPELL_EFFECT_130                                             = 130,
    +        SPELL_EFFECT_REDIRECT_THREAT                     = 130,
            SPELL_EFFECT_131                                             = 131,
            SPELL_EFFECT_132                                             = 132,
            SPELL_EFFECT_UNLEARN_SPECIALIZATION        = 133,

    130 Spell Effect 130 only used in Misdirection, hunter spell.

    <strike>And Aura #226 Is not a dummy effect, it is aura for WoLK also for hunter: http://wotlk.wowhead.com/?spell=60053</strike>

×
×
  • 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