Mage - IsStealable ? menu

User Tag List

Results 1 to 7 of 7
  1. #1
    NessK's Avatar Member
    Reputation
    13
    Join Date
    Jan 2015
    Posts
    100
    Thanks G/R
    2/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mage - IsStealable ?

    Using JPS a couple years ago, I was able to detect if a spell was stealable (Spellsteal) using the line below in the rotation.
    Code:
    local y=0;for i=1,40 do local n,_,_,_,_,_,_,_,isStealable=UnitAura("target",i);if isStealable==1 then print(n.." on target, steal it!")y=1;end end if y>=1 then end
    Anyone know of a way to detect if the spell being cast by your target is stealable ?

    Mage - IsStealable ?
  2. #2
    NessK's Avatar Member
    Reputation
    13
    Join Date
    Jan 2015
    Posts
    100
    Thanks G/R
    2/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bumping this one, sorry. Beating my head against the wall trying to figure this out.

    Anyone have any thoughts or partial idea ?

  3. #3
    ImogenOC's Avatar Contributor ProbablyEngine Community Manager
    Reputation
    173
    Join Date
    Nov 2013
    Posts
    364
    Thanks G/R
    0/8
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for not replying; this is simple with a lib or magic_buff tag.
    Spellsteal utilizes the dispel mechanic. So if something can be dispelled off a target (Magic only!), you can yoink it. We have a dispel lib, but it's EN_US only. I'll look for a method around this.


    EDIT: This will be fun. Look forward to a powerful update.
    Last edited by ImogenOC; 03-02-2015 at 06:10 PM.
    ProbablyEngine - Developer and Lead Support
    A Powerful Rotation Bot: ProbablyEngine

  4. #4
    NessK's Avatar Member
    Reputation
    13
    Join Date
    Jan 2015
    Posts
    100
    Thanks G/R
    2/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Probably/System/Conditions/core.lua

    Code:
    ProbablyEngine.condition.register("stealable", function(target, spellCast, spell)
        for i=1, 40 do
            local name, _, _, _, _, _, _, _, isStealable, _ = UnitAura(target, i)
            if isStealable then
                if spell then
                    if spell == GetSpellName(spell) then
                        return true
                    else
                        return false
                    end
                end
                return true
            end
        end
        return false
    end)
    Code:
    { "Spellsteal", "target.stealable", "target" },

  5. #5
    ImogenOC's Avatar Contributor ProbablyEngine Community Manager
    Reputation
    173
    Join Date
    Nov 2013
    Posts
    364
    Thanks G/R
    0/8
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by NessK View Post
    Probably/System/Conditions/core.lua

    Code:
    ProbablyEngine.condition.register("stealable", function(target, spellCast, spell)
        for i=1, 40 do
            local name, _, _, _, _, _, _, _, isStealable, _ = UnitAura(target, i)
            if isStealable then
                if spell then
                    if spell == GetSpellName(spell) then
                        return true
                    else
                        return false
                    end
                end
                return true
            end
        end
        return false
    end)
    Code:
    { "Spellsteal", "target.stealable", "target" },
    Someone nicked my idea straight from IRC, eh? :3
    ProbablyEngine - Developer and Lead Support
    A Powerful Rotation Bot: ProbablyEngine

  6. #6
    NessK's Avatar Member
    Reputation
    13
    Join Date
    Jan 2015
    Posts
    100
    Thanks G/R
    2/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


    Remember where the original idea came from !!

  7. #7
    ImogenOC's Avatar Contributor ProbablyEngine Community Manager
    Reputation
    173
    Join Date
    Nov 2013
    Posts
    364
    Thanks G/R
    0/8
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by NessK View Post


    Remember where the original idea came from !!
    Yeah yeah.
    *throws cc*
    ProbablyEngine - Developer and Lead Support
    A Powerful Rotation Bot: ProbablyEngine

Similar Threads

  1. [Mage Only] 30k exp an hour - Best AOE Method
    By Matt in forum World of Warcraft Guides
    Replies: 12
    Last Post: 12-04-2006, 12:51 PM
  2. get behind ab instance in hammer fall (mage only)
    By hannible in forum World of Warcraft Exploits
    Replies: 2
    Last Post: 05-30-2006, 12:43 AM
  3. Tanaris : Mages/Caster exploit
    By oninuva in forum World of Warcraft Guides
    Replies: 3
    Last Post: 04-23-2006, 03:38 PM
  4. Mage Solo AoE Grinding (40+)
    By Matt in forum World of Warcraft Guides
    Replies: 6
    Last Post: 04-18-2006, 04:21 AM
  5. No Bandage downtime for Frost Mages
    By Cyboi in forum World of Warcraft Exploits
    Replies: 2
    Last Post: 04-06-2006, 02:51 PM
All times are GMT -5. The time now is 07:44 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search