[Help PQR] Not interrupt on focus on "x" buffs menu

User Tag List

Results 1 to 6 of 6
  1. #1
    huhuking's Avatar Member
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help PQR] Not interrupt on focus on "x" buffs

    I got an interrupt profile but want to add to dont cast anything when the focus have immune buffs for example.

    [Help PQR] Not interrupt on focus on "x" buffs
  2. #2
    reapler's Avatar Member
    Reputation
    7
    Join Date
    Jul 2014
    Posts
    6
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just add " if UnitBuffID("focus", XXXXX) then return end " before your cast XXXXX is your immun buff

  3. #3
    huhuking's Avatar Member
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But if i add that it would interrupt when the focus have the immune buff not when it dont have it should be the opposite of that

  4. #4
    xxspokiixx's Avatar Active Member
    Reputation
    28
    Join Date
    Jan 2014
    Posts
    133
    Thanks G/R
    26/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but you can add a condition to stop casting spells when the unit has the buff.

  5. #5
    reapler's Avatar Member
    Reputation
    7
    Join Date
    Jul 2014
    Posts
    6
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by huhuking View Post
    But if i add that it would interrupt when the focus have the immune buff not when it dont have it should be the opposite of that
    heres an working short example script:



    local kickon = {
    "Flash of Light" ,
    "Divine Light"
    }

    if UnitBuffID("focus", 642)
    or UnitBuffID("focus", 1022) then return end --everything after this line will be no executed if that buff exist on your focus + you can add more requirements
    if PQR_SpellAvailable(1766) then
    for i=1, #kickon do
    if UnitCastingInfo("focus") == kickon[i] then
    CastSpellByID(1766, "focus") --kick for eg or you can change 1766 to your interrupt spell
    return true
    end
    end
    end

  6. #6
    huhuking's Avatar Member
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, thats good, i did this which should work the same:

    and UnitDebuff("focus", "Spellname") == nil
    then return true
    end

Similar Threads

  1. Replies: 2
    Last Post: 08-12-2014, 05:40 PM
  2. [HELP] WPE not working ?
    By Kzaf in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 03-06-2008, 12:23 PM
  3. Need help logonserver not authenticating
    By amnesia271 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 12-18-2007, 08:22 PM
  4. Help! Realm Not Showing?
    By Losheau in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 10-07-2007, 03:30 AM
  5. NEED HELP!!! realmlist not showing on antrix.
    By phc_chaos in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 09-28-2007, 10:20 PM
All times are GMT -5. The time now is 07:06 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