+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 26 of 26

Thread: What's Next? An ability priority Addon with fully customizable logic.

  1. #21
    Join Date
    Sep 2012
    Posts
    3
    I can't get Incarnation: Chosen of Elune to register. I don't know if it's the colon that's the problem or not, but it won't tell me to cast it. Once it's cast, I have a spell that's set to go when the buff is active, and that one works.

    Edit: Woops, also, Hide out of combat isn't working.

  2. #22
    Join Date
    Jan 2009
    Location
    Behind a Shield
    Posts
    105
    Quote Originally Posted by Delmain View Post
    I can't get Incarnation: Chosen of Elune to register. I don't know if it's the colon that's the problem or not,
    but it won't tell me to cast it. Once it's cast, I have a spell that's set to go when the buff is active, and that one works.
    Just use "Incarnation" or its spell ID. The problem is unique to that spell and has to do with an oddity in blizzards return values for it:

    GetSpellInfo(102560) -> "Incarnation: Chosen of Elune"
    GetSpellInfo("Incarnation: Chosen of Elune") -> nil
    GetSpellInfo("Incarnation") -> "Incarnation: Chosen of Elune"

    Still use the full name when checking for the bufff tho.

    Quote Originally Posted by Delmain View Post
    Edit: Woops, also, Hide out of combat isn't working.
    Just update to a newer build that bug has been fixed.

    Thanks
    Addon Author: What's Next? - AllPlates - Sudoku - Death Clock - Super Loot

  3. #23
    Join Date
    Sep 2012
    Posts
    3
    I added Shadow Priest's Shadow Orbs. Do you want it?

  4. #24
    Join Date
    Jan 2009
    Location
    Behind a Shield
    Posts
    105
    Do you mean logic blocks for handling it or conditional statements for checking it? Either way I'd love to check it out.
    Addon Author: What's Next? - AllPlates - Sudoku - Death Clock - Super Loot

  5. #25
    Join Date
    Sep 2012
    Posts
    3
    Both, it was simple. I was just going to say that if you're busy Pandaria-ing and didn't want to spend time looking at other classes, I'd understand.

    I put the following into a WhatsNext-Checks-Priests.lua and referenced it in the ToC

    Code:
    WhatsNext:AddConditionalStatement("Shadow Orbs",{
        category = "Priest",
        test = function(checkTable) 
            return tonumber(checkTable.amount) <= UnitPower("player" ,13)
        end,
        text = function(checkTable) 
            return "player has at least " .. tostring(checkTable.amount) .. " shadow orbs."
        end,
        arguments = {
            amount = {type = "integer", default = 0},
        }
    })
    As for the logicsets, I have mine, but I'm still tweaking it. If you want, I'll post what I'm content with when it's finished.

  6. #26
    Join Date
    Jan 2009
    Location
    Behind a Shield
    Posts
    105
    Looks perfect, I'd love to start including logic sets for other classes but I don't have a high level character for most of them with which to do any testing. I setup a forum http://wow.curseforge.com/addons/whatsnext/forum/ for users to post any they create but I doubt it will get much traffic for a while, at least until the addon finishes its beta period.
    Addon Author: What's Next? - AllPlates - Sudoku - Death Clock - Super Loot

+ Reply to Thread

Bookmarks

Posting Permissions

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