Need help with Interupt in RBG menu

User Tag List

Results 1 to 3 of 3
  1. #1
    telah's Avatar Site Donator
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with Interupt in RBG

    Hi all,

    I need some help from an experienced coder if what I am looking for is possible to accomplish with PQR.

    I am using Alpha Interrupt and Lostinthewood shaman pvp profile they are both amazingly good but i'd like to improve windsheer for usage in RBG

    right now my windsheer is interupting my focus or my target but ignoring anything else around me.

    what I am wondering is if it possible to change the logic so that it look for something to interrupt from my focus, if nothing, my target (currently work) and if nether are casting interrupt from any enemy in my windshear range from a specific spell priority list.

    see below the code for the interupt from lostinthewood profile.

    can anyone help with this ? I just started learning to modify code but this is a little bit over my current knowledge

    local InterruptSpells = { 331, 77472, 73920, 8004, 8936, 50464, 5185, 740, 2061, 2060, 32546, 64843, 47540, 19750, 82326, 7328, 54428, 82327, 115175, 124682, 116694, 116694, 51514, 33786, 2637, 5782, 111771, 5232, 710, 605, 9484, 32375, 20066, 118, 61305, 28272, 61721, 61780, 28271, 2641, 1513, 982 }

    if PQR_SpellAvailable(57994) then
    for y=1, 5 do
    local aTarget = "arena"..tostring(y)
    if UnitExists(aTarget)
    and IsSpellInRange(GetSpellInfo(57994), aTarget) == 1
    and PQR_UnitFacing("player", aTarget) then
    local spellName, _, _, _, startCast, endCast, _, _, canInterrupt = UnitCastingInfo(aTarget)
    for i=1, #InterruptSpells do
    if GetSpellInfo(InterruptSpells[i]) == spellName and canInterrupt == false then
    if select(2, Nova_CastingInfo(aTarget)) >= 20
    and PQR_UnitFacing("player",aTarget,180)
    then
    PQR_CustomTarget = aTarget
    return true
    end
    end
    end
    end
    end
    local fTarget = "focus"
    if UnitExists(fTarget)
    and IsSpellInRange(GetSpellInfo(57994), fTarget) == 1
    and PQR_UnitFacing("player", fTarget) then
    local spellName, _, _, _, startCast, endCast, _, _, canInterrupt = UnitCastingInfo(fTarget)
    for i=1, #InterruptSpells do
    if GetSpellInfo(InterruptSpells[i]) == spellName and canInterrupt == false then
    if select(2, Nova_CastingInfo(fTarget)) >= 20
    and PQR_UnitFacing("player",fTarget,180)
    then
    PQR_CustomTarget = fTarget
    return true
    end
    end
    end
    end
    local tTarget = "target"
    if UnitExists(tTarget)
    and IsSpellInRange(GetSpellInfo(57994), tTarget) == 1
    and PQR_UnitFacing("player", tTarget) then
    local spellName, _, _, _, startCast, endCast, _, _, canInterrupt = UnitCastingInfo(tTarget)
    for i=1, #InterruptSpells do
    if GetSpellInfo(InterruptSpells[i]) == spellName and canInterrupt == false then
    if select(2, Nova_CastingInfo(tTarget)) >= 20
    and PQR_UnitFacing("player",tTarget,180)
    then
    PQR_CustomTarget = tTarget
    return true
    end
    end
    end
    end
    end

    Need help with Interupt in RBG
  2. #2
    telah's Avatar Site Donator
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone ?

    is this something PQR can do ?

  3. #3
    Quesadilla's Avatar Sergeant
    Reputation
    9
    Join Date
    Apr 2013
    Posts
    56
    Thanks G/R
    2/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dont think it's possible, as far as my limited experience goes: PQR can use the built in Lua targets, like arena 1-5,raid\party1-40, focus, focustarget, party pets ect and probably by name of unit

Similar Threads

  1. Need help with sig
    By sudnrage111 in forum Community Chat
    Replies: 0
    Last Post: 09-24-2006, 02:12 AM
  2. Need help with weapon model edit!
    By Chewbbaca in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 09-20-2006, 07:02 PM
  3. need help with model editing experts please
    By sportstud10124 in forum Community Chat
    Replies: 0
    Last Post: 08-10-2006, 09:30 PM
  4. need help with shammy talents
    By jason in forum World of Warcraft General
    Replies: 5
    Last Post: 07-19-2006, 02:02 AM
  5. Need Help with WoW Glider
    By paypal in forum World of Warcraft General
    Replies: 2
    Last Post: 07-07-2006, 02:08 AM
All times are GMT -5. The time now is 08:00 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search