DK Interrupt menu

User Tag List

Thread: DK Interrupt

Results 1 to 8 of 8
  1. #1
    qzt's Avatar Member
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DK Interrupt

    hi need some help with a interrupt Profile. what i want is to add another interrupt spell (47481)......Gnaw - Spell - World of Warcraft
    my profile looks like this atm



    if playerClass == "DEATHKNIGHT" then
    local mfStart, mfDuration = GetSpellCooldown(4752)
    local sStart, sDuration = GetSpellCooldown(47476)

    if ( GetSpellCooldown(4752 == 0 and GetSpellCooldown(47476) == 0 ) then --If both arent on CD then choose mind freeze
    return 47528
    elseif ( sStart > 0 and sDuration > 1.5 ) then --if Strangulate is on CD then choose mind freeze
    return 47528
    elseif ( mfStart > 0 and mfDuration > 1.5 ) then -- if mindfreeze is on cd then choose strangulate
    return 47476
    end

    DK Interrupt
  2. #2
    ev0's Avatar ★ Elder ★ murlocs.com

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1850
    Join Date
    Jul 2012
    Posts
    2,737
    Thanks G/R
    313/377
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    7 Thread(s)
    define the variable, say gStart. and do another elseif

    local gStart, gDuration = GetSpellCooldown(###)

    ....
    ...

    ....
    elseif(gStart > 0 and gDuration > 1.5 ) then
    return ####
    end
    Need a guild in the US? Visit murlocs.com

  3. #3
    qzt's Avatar Member
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks you for the help. this is how i wrote it



    if playerClass == "DEATHKNIGHT" then
    local mfStart, mfDuration = GetSpellCooldown(4752
    local sStart, sDuration = GetSpellCooldown(47476)
    local gStart, sDuration = GetSpellCooldown(47481)

    if ( GetSpellCooldown(4752 == 0 and GetSpellCooldown(47476) == 0 and GetSpellCooldown(47481) == 0 ) then --If both arent on CD then choose mind freeze
    return 47528
    elseif ( sStart > 0 and sDuration > 1.5 ) then --if Strangulate is on CD then choose mind freeze
    return 47528
    elseif ( gStart > 0 and gDuration > 1.5 ) then -- if Gnaw is on cd then choose mindfreeze
    return 47528
    end

  4. #4
    qzt's Avatar Member
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    got another question, you might help me

    --if PlayerHP <= 50 then
    -- if TargetValidationMelee("target", PQ_DeathStrike) then
    -- CastSpellByName(GetSpellInfo(PQ_DeathStrike), "target")
    -- return true
    -- end
    --end
    local PQ_GiftOfTheNaaru = PQ_GiftOfTheNaaru

    if IsSpellKnown(PQ_GiftOfTheNaaru) then
    if UnitBuffID("player", PQ_GiftOfTheNaaru) and PlayerHP > 30 then
    return false
    end

    if PlayerHP <= 60 and PQR_SpellAvailable(PQ_GiftOfTheNaaru) then
    CastSpellByName(GetSpellInfo(PQ_GiftOfTheNaaru), "player")
    return true
    end
    end

    if PlayerHP <= 15 then
    local _,ghoul = GetTotemInfo(1)
    local PQ_DeathPact = PQ_DeathPact

    if ghoul ~= nil
    and ghoul ~= ""
    and PQR_SpellAvailable(PQ_DeathPact) then
    CastSpellByName(GetSpellInfo(PQ_DeathPact), "player")
    return true
    end

    local PQ_HealthStoneItem = PQ_HealthStoneItem

    if PlayerHP <= 35
    and GetItemCount(PQ_HealthStoneItem,false,true) > 0
    and GetItemCooldown(PQ_HealthStoneItem) == 0 then
    UseItemByName(PQ_HealthStoneItem, "player")
    return true
    end
    end






    why aint it doing anything? i go below 15% and it dont use it

  5. #5
    ev0's Avatar ★ Elder ★ murlocs.com

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1850
    Join Date
    Jul 2012
    Posts
    2,737
    Thanks G/R
    313/377
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    7 Thread(s)
    there seems to be some missing calls, and your syntax is messy! link me to the file directly. I'll have a looksy
    Need a guild in the US? Visit murlocs.com

  6. #6
    qzt's Avatar Member
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    whats a syntax and how to link the file?

    --if PlayerHP <= 50 then-- if TargetValidationMelee("target", PQ_DeathStrike) then
    -- CastSpellByName(GetSpellInfo(PQ_DeathStrike), "target")
    -- return true
    -- end
    --end
    local PQ_GiftOfTheNaaru = PQ_GiftOfTheNaaru


    if IsSpellKnown(PQ_GiftOfTheNaaru) then
    if UnitBuffID("player", PQ_GiftOfTheNaaru) and PlayerHP > 30 then
    return false
    end

    if PlayerHP <= 60 and PQR_SpellAvailable(PQ_GiftOfTheNaaru) then
    CastSpellByName(GetSpellInfo(PQ_GiftOfTheNaaru), "player")
    return true
    end
    end


    if PlayerHP <= 45 then
    local _,ghoul = GetTotemInfo(1)
    local PQ_DeathPact = PQ_DeathPact

    if ghoul ~= nil
    and ghoul ~= ""
    and PQR_SpellAvailable(PQ_DeathPact) then
    CastSpellByName(GetSpellInfo(PQ_DeathPact), "player")
    return true
    end

    local PQ_HealthStoneItem = PQ_HealthStoneItem

    if PlayerHP <= 35
    and GetItemCount(PQ_HealthStoneItem,false,true) > 0
    and GetItemCooldown(PQ_HealthStoneItem) == 0 then
    UseItemByName(PQ_HealthStoneItem, "player")
    return true
    end
    end

  7. #7
    qzt's Avatar Member
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    local PQ_DeathPact = PQ_DeathPact
    local PQ_RaiseDead = PQ_RaiseDead

    if PlayerHP <= 30 and PQR_SpellAvailable(PQ_DeathPact) then
    local _,ghoul = GetTotemInfo(1)

    if ghoul ~= nil
    and ghoul ~= "" then
    CastSpellByName(GetSpellInfo(PQ_DeathPact), "player")
    return true
    end

    if PlayerHP <= 30 and IsSpellKnown(PQ_DeathPact) then
    CastSpellByName(GetSpellInfo(PQ_RaiseDead), "player")
    return true
    end
    end

  8. #8
    qzt's Avatar Member
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thats what i tryied now

Similar Threads

  1. Interrupting enemys stealth with hunters pet.
    By eltales in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 12-17-2007, 03:55 AM
  2. Halloween Special - Interrupt Eating/Drinking
    By Kalon in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 10-22-2007, 03:03 PM
  3. Drinking with no interruptions
    By Tehman in forum World of Warcraft Exploits
    Replies: 27
    Last Post: 10-01-2007, 06:52 PM
  4. Drink without any interruptions
    By Tehman in forum World of Warcraft General
    Replies: 2
    Last Post: 09-19-2007, 08:38 AM
  5. Interrupt others hearthstone
    By blomstervand in forum World of Warcraft Guides
    Replies: 9
    Last Post: 07-27-2006, 06:22 PM
All times are GMT -5. The time now is 08:30 AM. 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