1. #1
    Field Marshal opbear's Avatar
    10+ Year Old Account
    Join Date
    Jan 2014
    Location
    Brisbane, Australia
    Posts
    84

    Change Talent macro

    Pre patch I had these two macros (needing to click once to unlearn, click again to relearn the new talent).


    #showtooltip elemental Blast

    /click PlayerTalentFrameTalentsTalentRow6Talent2 RightButton

    /click StaticPopup1Button1

    /run LearnTalent(18)

    /click StaticPopup1Button1


    #showtooltip Primal Elementalist

    /click PlayerTalentFrameTalentsTalentRow6Talent3 RightButton

    /click StaticPopup1Button1

    /run LearnTalent(17)

    /click StaticPopup1Button1
    Now they no longer work.

    With some fiddling around, I managed to come up with


    #showtooltip elemental Blast

    /click PlayerTalentFrameTalentsTalentRow6Talent3

    /click StaticPopup1Button1

    /in 1 /click PlayerTalentFrameTalentsLearnButton
    which works, but only when the talent window is open.

    One of the issues is that the /run LearnTalent(x) no longer works, so /clicks is the only way to get a solution, but if there isn't a /in 1 added to the third line, clicking again will cause the talent to be learned, to be unselected by the first line of the macro.

    Any help is greatly appreciated
    Last edited by opbear; 2014-10-17 at 06:20 AM.

  2. #2
    New API

    LearnTalent(talentID)
    LearnTalents(talentID1 [, talentID2, ...])

    Talent IDs can be found from this paste I just made. Just Ctrl+F to find em.
    http://pastebin.com/k8HhqJUD


    Code:
    /click PlayerTalentFrameTalentsTalentRowXTalentX
    /click StaticPopup1Button1
    /run LearnTalent(talentID)
    Just gotta replace the X with your row and talent column and figure out the correct talentID!
    Kinda sucks but that's the way blizz made it.

    - - - Updated - - -

    From those macros you had up there. Here are some quickies

    Code:
    #showtooltip Elemental Blast
    /click PlayerTalentFrameTalentsTalentRow6Talent3
    /click StaticPopup1Button1
    /run LearnTalent(19267)
    Code:
    #showtooltip Primal Elementalist
    /click PlayerTalentFrameTalentsTalentRow6Talent2
    /click StaticPopup1Button1
    /run LearnTalent(19266)
    Just make sure you have loaded the talent frame before. But I'm sure you knew that.
    You can also make a macro to do that for you as well to get it to the talents page

    Code:
    /run LoadAddOn("Blizzard_TalentUI")
    /run PlayerTalentFrame:Show()
    /click PlayerTalentFrameTab2
    Last edited by Clebane; 2014-10-17 at 08:18 AM.

  3. #3
    Deleted
    Quote Originally Posted by Clebane View Post
    Code:
    /run LoadAddOn("Blizzard_TalentUI")
    /run PlayerTalentFrame:Show()
    /click PlayerTalentFrameTab2
    Code:
    /run LoadAddOn("Blizzard_TalentUI");PlayerTalentFrame:Show()
    /click PlayerTalentFrameTab2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •