I drop both them in and both of them the buffs go off fine but when i go to fire nothing happens..... what did i do wrong? |
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
i=i+1; Skill[i] = { name = "Silence", use = (silenceThis) }
i=i+1; Skill[i] = { name = "Fire Rose", use = ((not friendly) and (not string.find(tbuffs,"Fire Rose III"))) }
i=i+1; Skill[i] = { name = "Fire Rose Explosion", use = ((not friendly) and (string.find(tbuffs,"Fire Rose III")) and (BP_BuffTimeLeft("target","Fire Rose III") <= 2)) }
i=i+1; Skill[i] = { name = "Plasma Arrow", use = ((not friendly) and (not pcrit) and (useShift)) }
i=i+1; Skill[i] = { name = "Thunderclap", use = ((not friendly) and (useShift) and (not string.find(tbuffs,"Thunderclap"))) }
i=i+1; Skill[i] = { name = "Lightning", use = ((not friendly) and (GetActionUsable(arg2)) and (not string.find(tbuffs,"Lightning"))) }
i=i+1; Skill[i] = { name = "Electric Bolt", use = ((not friendly) and (not string.find(tbuffs,"Electric Flow")) and (string.find(tbuffs,"Lightning"))) }
i=i+1; Skill[i] = { name = "Fireball", use = ((not friendly) and (GetActionUsable(arg4)))}
i=i+1; Skill[i] = { name = "Meteor Shower", use = ((not friendly) and (GetActionUsable(arg3)) and (string.find(tbuffs,"Lightning")) and (not string.find(pbuffs,"Mind Attack"))}
i=i+1; Skill[i] = { name = "Shot", use = ((not friendly) and (string.find(pbuffs,"Fire Arrow")) and (GetActionUsable(arg5)))}
i=i+1; Skill[i] = { name = "Vampire Arrows", use = ((not friendly) and (not string.find(tbuffs,"Lightning")))}
i=i+1; Skill[i] = { name = "Flame", use = (not friendly) }
|
|
|
Source code |
1 2 3 4 |
i=i+1; Skill[i] = { name = "Fire Rose", use = ((not friendly) and (not string.find(tbuffs,"Fire Rose III"))) }
i=i+1; Skill[i] = { name = "Fire Rose Explosion", use = ((not friendly) and (string.find(tbuffs,"Fire Rose III")) and (BP_BuffTimeLeft("target","Fire Rose III") <= 2)) }
i=i+1; Skill[i] = { name = "Electric Bolt", use = ((not friendly) and (not string.find(tbuffs,"Electric Flow")) and (string.find(tbuffs,"Lightning"))) }
i=i+1; Skill[i] = { name = "Vampire Arrows", use = ((not friendly) and (not string.find(tbuffs,"Lightning")))}
|
( *)(%d+)(.*)", "%3")))
( *)(.*)", "%3")
( *)(.*)", "%3")
By all the research I have done, it should work.|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
function WardenScout(arg1,arg2)
local Skill = {}
local i = 0
local focus = UnitMana("player")
local mana = UnitSkill("player")/UnitMaxSkill("player")
local enemy = UnitCanAttack("player","target")
local combat = GetPlayerCombatState()
local pbuffs = BuffList("player")
local tbuffs = BuffList("target")
local pet = UnitExists("playerpet")
local tspell,ttime,telapsed = UnitCastingTime("target")
local melee = GetActionUsable(8)
if (not UnitExists("target")) or UnitIsDeadOrGhost("target") or (PctH("player") <= .40) and (string.find(pbuffs,"Blood Arrow")) then CancelBuff("Blood Arrow")
end
i=i+1; Skill[i] = { ['name'] = "Elven Amulet", ['use'] = (combat and (PctH("player") <= .30) and (not string.find(pbuffs,"Elven Amulet"))) }
i=i+1; Skill[i] = { ['name'] = "Briar Shield", ['use'] = ((not combat) and (not string.find(pbuffs,"Briar Shield"))) }
--i=i+1; Skill[i] = { ['name'] = "Summon Chiron the Centaur", ['use'] = ((not combat) and (not pet)) }
i=i+1; Skill[i] = { ['name'] = "Item: Doom's Banquet", ['use'] = ((not combat) and (not string.find(pbuffs,"Doom's Banquet")) and (arg2 == "dps")) }
i=i+1; Skill[i] = { ['name'] = "Item: Hero Potion", ['use'] = ((not combat) and (not string.find(pbuffs,"Hero Potion")) and (arg2 == "dps")) }
i=i+1; Skill[i] = { ['name'] = "Blood Arrow", ['use'] = (PctH("player") >= .80) and (not string.find(pbuffs,"Blood Arrow")) and (arg2 == "dps") }
i=i+1; Skill[i] = { ['name'] = "Savage Power", ['use'] = (not combat) and (not string.find(pbuffs,"Savage Power")) and (arg2 == "dps")}
i=i+1; Skill[i] = { ['name'] = "Throat Attack", ['use'] = enemy and (tspell ~= nil) and (ttime >= 0.8) and ((ttime - telapsed) >= 0.4) and (focus >= 15) }
if enemy and (not melee) then
i=i+1; Skill[i] = { ['name'] = "Shot", ['use'] = true }
i=i+1; Skill[i] = { ['name'] = "Vampire Arrows", ['use'] = (focus >= 20) }
i=i+1; Skill[i] = { ['name'] = "Anti-Magic Arrow", ['use'] = (mana <= .70) }
elseif enemy and melee then
i=i+1; Skill[i] = { ['name'] = "Thorny Vine", ['use'] = true }
i=i+1; Skill[i] = { ['name'] = "Charged Chop", ['use'] = true }
i=i+1; Skill[i] = { ['name'] = "Power of the Wood Spirit", ['use'] = true }
--i=i+1; Skill[i] = { ['name'] = "Wrist Attack", ['use'] = ((not string.find(tbuffs,"Wrist Attack")) and (focus >= 50)) }
--i=i+1; Skill[i] = { ['name'] = "Joint Blow", ['use'] = ((not string.find(tbuffs,"Joint Blow")) and(focus >= 50)) }
end
MyCombat(Skill,arg1)
end
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
function ScoutKnightRange(arg1)
local Skill = {}
local i = 0
local focus = UnitMana("player")
local enemy = (not UnitCanAttack("player","target"))
local combat = GetPlayerCombatState()
local pbuffs = BuffList("player")
local tbuffs = BuffList("target")
local a1,a2,a3,a4,a5,ASon = GetActionInfo(9) -- Change the # to your action bar slot for Autoshot
if (not combat) then
i=i+1; Skill[i] = { name = "Enhanced Armor", use = (not string.find(pbuffs,"Significantly Enhanced Armor")) } -- The buff name for a S/K is ot the same as other knights
i=i+1; Skill[i] = { name = "Frost Arrow", use = (not string.find(pbuffs,"Frost Arrow")) }
end
if enemy then
i=i+1; Skill[i] = { name = "Combo Shot", use = true }
i=i+1; Skill[i] = { name = "Autoshot", use = (not ASon) }
i=i+1; Skill[i] = { name = "Shot", use = true }
i=i+1; Skill[i] = { name = "Disarmament", use = (not string.find(tbuffs,"Disarmament IV")) }
i=i+1; Skill[i] = { name = "Vampire Arrows", use = (focus >= 20) }
i=i+1; Skill[i] = { name = "Wind Arrows", use = (focus >= 15) }
i=i+1; Skill[i] = { name = "Disarmament", use = true }
end
MyCombat(Skill,arg1)
end
function ScoutKnightMelee(arg1)
local Skill = {}
local i = 0
local focus = UnitMana("player")
local enemy = (not UnitCanAttack("player","target"))
local combat = GetPlayerCombatState()
local pbuffs = BuffList("player")
local tbuffs = BuffList("target")
local a1,a2,a3,a4,a5,ASon = GetActionInfo(9) -- Change the # to your action bar slot for Autoshot
if (not combat) then
i=i+1; Skill[i] = { name = "Enhanced Armor", use = (not string.find(pbuffs,"Significantly Enhanced Armor")) } -- The buff name for a S/K is ot the same as other knights
i=i+1; Skill[i] = { name = "Frost Arrow", use = (not string.find(pbuffs,"Frost Arrow")) }
end
if enemy then
i=i+1; Skill[i] = { name = "Combo Shot", use = true }
i=i+1; Skill[i] = { name = "Autoshot", use = (not ASon) }
i=i+1; Skill[i] = { name = "Shot", use = true }
i=i+1; Skill[i] = { name = "Punishment", use = (string.find(tbuffs, "Light Seal III")) }
i=i+1; Skill[i] = { name = "Disarmament", use = (not string.find(tbuffs,"Disarmament I")) }
i=i+1; Skill[i] = { name = "Holy Strike", use = (not string.find(tbuffs,"Light Seal I")) }
i=i+1; Skill[i] = { name = "Disarmament", use = (not string.find(tbuffs,"Disarmament II")) }
i=i+1; Skill[i] = { name = "Holy Strike", use = (not string.find(tbuffs,"Light Seal II")) }
i=i+1; Skill[i] = { name = "Disarmament", use = (not string.find(tbuffs,"Disarmament III")) }
i=i+1; Skill[i] = { name = "Holy Strike", use = (not string.find(tbuffs,"Light Seal III")) }
i=i+1; Skill[i] = { name = "Vampire Arrows", use = (focus >= 20) }
i=i+1; Skill[i] = { name = "Wind Arrows", use = (focus >= 15) }
i=i+1; Skill[i] = { name = "Disarmament", use = true }
end
MyCombat(Skill,arg1)
end
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
function WardenScout(arg1,arg2)
local Skill = {}
local i = 0
local mana = UnitMana("player")
local focus = UnitSkill("player")
local pfocus = PctS("player")
local enemy = UnitCanAttack("player","target")
local combat = GetPlayerCombatState()
local pbuffs = BuffList("player")
local tbuffs = BuffList("target")
local pet = UnitExists("playerpet")
local tspell,ttime,telapsed = UnitCastingTime("target")
local melee = GetActionUsable(8)
local tDead = UnitIsDeadOrGhost("target")
local LockedOn = UnitExists("target")
local phealth = PctH("player")
local thealth = PctH("target")
if ((not LockedOn) or tDead or (phealth <= .40)) and (string.find(pbuffs,"Blood Arrow")) then
CancelBuff("Blood Arrow")
-- i=i+1; Skill[i] = { name = "Blood Arrow", use = ((not combat or (phealth <= .45)) and (string.find(pbuffs,"Blood Arrow"))) }
--if CancelBuff does not work then try activating the second line here and remove CancelBuff. Both should work though, just two different options.
end
i=i+1; Skill[i] = { name = "Elven Amulet", use = (combat and (phealth <= .30) and (not string.find(pbuffs,"Elven Amulet"))) }
if (not combat) then
i=i+1; Skill[i] = { name = "Briar Shield", use = (not string.find(pbuffs,"Briar Shield")) }
--i=i+1; Skill[i] = { name = "Summon Chiron the Centaur", use = (not pet) } --[[you need to define nopet as a variable]]
i=i+1; Skill[i] = { name = "Item: Doom's Banquet", use = ((not string.find(pbuffs,"Doom's Banquet")) and (arg2 == "dps")) }
i=i+1; Skill[i] = { name = "Item: Hero Potion", use = ((not string.find(pbuffs,"Hero Potion")) and (arg2 == "dps")) }
i=i+1; Skill[i] = { name = "Blood Arrow", use = (phealth >= .80) and (not string.find(pbuffs,"Blood Arrow")) and (arg2 == "dps") }
i=i+1; Skill[i] = { name = "Savage Power", use = (not string.find(pbuffs,"Savage Power")) and (arg2 == "dps")}
end
if enemy and (not melee) then
i=i+1; Skill[i] = { name = "Shot", use = true }
i=i+1; Skill[i] = { name = "Vampire Arrows", use = (focus >= 20) }
i=i+1; Skill[i] = { name = "Anti-Magic Arrow", use = (pfocus <= .70) } --[[did you mean to only use this when below 70% focus?]]
elseif enemy and melee then
i=i+1; Skill[i] = { name = "Throat Attack", use = (tspell ~= nil) and (ttime >= 0.8) and ((ttime - telapsed) >= 0.4) and (focus >= 15) }
--[[moved TA down here, because otherwise you will never use the range skills.]]
i=i+1; Skill[i] = { name = "Thorny Vine", use = (mana >= 30) }
i=i+1; Skill[i] = { name = "Charged Chop", use = (mana >= 20 }
i=i+1; Skill[i] = { name = "Power of the Wood Spirit", use = (mana >= 15) }
end
MyCombat(Skill,arg1)
end
|
Quoted from "Melehan;369175"
It still works, but it wasn't casting Fire Rose. I moved it to #2 in the order run it in verbose mode and it just acts like I have no such skill called Fire Rose. Fire Rose Explosion is not working even if I manually add 3 Fire Roses to the target.
There's also some kind of ") expected near } error for line 58 (Meteor Shower) which suddenly showed up, but I don't see any missed ) or } there. Maybe I'm just missing it.
ETA: nvm, found the missing ')'. I added the Mind Attack debuff check last night since that's the first time I ever noticed you getting it when you cast Meteor Shower. That won't even work as scripted since I have to check player debuffs anyway.
ETA2: Fixing the ) error fixed the entire Fire Rose (Explosion) thing. That's even weirder since it had no problem casting other spells on the list above and below it.



Quoted from "AKALASZLO;369127"
Thank u six but I still failI drop both them in and both of them the buffs go off fine but when i go to fire nothing happens..... what did i do wrong?
Quoted from "samohn;369731"
Hello,
So I have been working on a WardenScout diyce and I am trying to define which skills to use in and out of melee range. What I have created is below. My problem is that it will not recognize, nor execute the shot and vamp arrows. It always goes straight to thorny vine and as you can guess, if I am out of melee range, nothing happens. I have tried multiple ways of defining melee and non-melee range and I looked at the "DIYCE - how it works" post on this forum and decided to try that method. It still will not work.
I should also note that my melee range definition is using Power of the Wood Spirit skill, which is slot #8 on my action bar.
Any suggestions???By all the research I have done, it should work.
|
|
Source code |
1 2 |
local focus = UnitSkill("player")
local mana = UnitMana("player")/UnitMaxMana("player")
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
if enemy then
i=i+1; Skill[i] = { name = "Shot", use = (not melee) }
i=i+1; Skill[i] = { name = "Vampire Arrows", use = (not melee) and (focus >= 20) }
i=i+1; Skill[i] = { name = "Anti-Magic Arrow", use = (not melee) and (pfocus <= .70) } --[[did you mean to only use this when below 70% focus?]]
i=i+1; Skill[i] = { name = "Throat Attack", use = (tspell ~= nil) and (ttime >= 0.8) and ((ttime - telapsed) >= 0.4) and (focus >= 15) }
--[[moved TA down here, because otherwise you will never use the range skills.]]
i=i+1; Skill[i] = { name = "Thorny Vine", use = (mana >= 30) }
i=i+1; Skill[i] = { name = "Charged Chop", use = (mana >= 20 }
i=i+1; Skill[i] = { name = "Power of the Wood Spirit", use = (mana >= 15) }
end
|
|
|
Source code |
1 2 3 |
function PctS(tgt)
return (UnitSkill(tgt)/UnitMaxSkill(tgt))
end
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
function WardenScout(arg1,arg2)
local Skill = {}
local i = 0
local mana = UnitMana("player")/UnitMaxMana("player")
local focus = UnitSkill("player")
local pfocus = PctS("player")
local enemy = UnitCanAttack("player","target")
local combat = GetPlayerCombatState()
local pbuffs = BuffList("player")
local tbuffs = BuffList("target")
local pet = UnitExists("playerpet")
local tspell,ttime,telapsed = UnitCastingTime("target")
local melee = GetActionUsable(8)
local tDead = UnitIsDeadOrGhost("target")
local LockedOn = UnitExists("target")
local phealth = PctH("player")
local thealth = PctH("target")
if ((not LockedOn) or tDead or (phealth <= .40)) and (string.find(pbuffs,"Blood Arrow")) then CancelBuff("Blood Arrow")
--i=i+1; Skill[i] = { name = "Blood Arrow", use = ((not combat or (phealth <= .45)) and (string.find(pbuffs,"Blood Arrow"))) }
--if CancelBuff does not work then try activating the second line here and remove CancelBuff. Both should work though, just two different options.
end
i=i+1; Skill[i] = { name = "Elven Amulet", use = (combat and (phealth <= .30) and (not string.find(pbuffs,"Elven Amulet"))) }
if (not combat) then
i=i+1; Skill[i] = { name = "Briar Shield", use = (not string.find(pbuffs,"Briar Shield")) }
i=i+1; Skill[i] = { name = "Item: Doom's Banquet", use = ((not string.find(pbuffs,"Doom's Banquet")) and (arg2 == "dps")) }
i=i+1; Skill[i] = { name = "Item: Hero Potion", use = ((not string.find(pbuffs,"Hero Potion")) and (arg2 == "dps")) }
i=i+1; Skill[i] = { name = "Blood Arrow", use = (phealth >= .80) and (not string.find(pbuffs,"Blood Arrow")) and (arg2 == "dps") }
i=i+1; Skill[i] = { name = "Savage Power", use = (not string.find(pbuffs,"Savage Power")) and (arg2 == "dps")}
end
if enemy then
i=i+1; Skill[i] = { name = "Shot", use = (not melee) }
i=i+1; Skill[i] = { name = "Vampire Arrows", use = (not melee) and (focus >= 20) }
i=i+1; Skill[i] = { name = "Anti-Magic Arrow", use = (not melee) and (pfocus <= .70) }
i=i+1; Skill[i] = { name = "Throat Attack", use = (tspell ~= nil) and (ttime >= 0.8) and ((ttime - telapsed) >= 0.4) and (focus >= 15) }
i=i+1; Skill[i] = { name = "Thorny Vine", use = (mana >= 30) }
i=i+1; Skill[i] = { name = "Charged Chop", use = (mana >= 20) }
i=i+1; Skill[i] = { name = "Power of the Wood Spirit", use = (mana >= 15) }
end
MyCombat(Skill,arg1)
end
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
function MageScoutCombat(arg1,arg2,arg3,arg4,arg5)
-- arg2 = Quickbar slot# for Lightning.
-- arg3 = Quickbar slot# for Meteor Shower.
-- arg4 = Quickbar slot# for Silence (range check for Fireball).
-- arg5 = Quickbar slot# for Shot.
local Skill = {}
local i = 0
local useShift = IsShiftKeyDown()
local useCtrl = IsCtrlKeyDown()
-- Player and target status.
local friendly = (not UnitCanAttack("player","target"))
local plife = PctH("player")
local pMana = PctM("player")
local pbuffs = BuffList("player")
local dbuffs = DebuffList("player")
local pcrit = string.find(pbuffs,"Charged")
local tbuffs = BuffList("target")
local tDead = UnitIsDeadOrGhost("target")
-- Health monitor. Change Action: n statements to match action bar numbers for your mana pot slots.
if (plife <= .55) then
i=i+1; Skill[i] = { name = "Action: 61 ", use = (plife <= .45) }
i=i+1; Skill[i] = { name = "Action: 62 ", use = (plife <= .55) }
i=i+1; Skill[i] = { name = "Electrostatic Charge", use = ((not string.find(pbuffs,"Electrostatic Charge"))) }
end
--Mana monitor. Change Action: n statements to match action bar numbers for your mana pot slots.
if (pMana <= .60) then
i=i+1; Skill[i] = { name = "Action: 63", use = (pMana <= .40) }
i=i+1; Skill[i] = { name = "Action: 64", use = (pMana <= .60) }
end
--Silence spell list logic.
local tSpell,tTime,tElapsed = UnitCastingTime("target")
local silenceList = "/Annihilation/King Bug Shock/Mana Rift/Dream of Gold/Flame/Flame Spell/Wave Bomb/Silence/Recover/Restore Life/Heal/Curing Shot/Leaves of Fire/"
local silenceThis = ((tSpell ~= nil) and (string.find(silenceList, tSpell)) and ((tTime - tElapsed) > 0.1))
-- Fallback to scout skills if silenced or low on mana.
if ((pMana <= .10) or string.find(dbuffs,"Silenced") or string.find(dbuffs,"Throat Seal") ) then
i=i+1; Skill[i] = { name = "Shot", use = ((not friendly) and (string.find(pbuffs,"Fire Arrow")))}
i=i+1; Skill[i] = { name = "Vampire Arrows", use = (not friendly)}
end
-- Loot corpse, do normal attack, or interact with NPC
i=i+1; Skill[i] = { name = "Attack", use = ((not combat) and (tDead)) }
-- Combat.
i=i+1; Skill[i] = { name = "Silence", use = (silenceThis) }
i=i+1; Skill[i] = { name = "Fire Rose Explosion", use = ((not friendly) and ((string.find(tbuffs,"Fire Rose III")) and (BuffTimeLeft("target","Fire Rose III") <= 2))) }
i=i+1; Skill[i] = { name = "Plasma Arrow", use = ((not friendly) and (not pcrit) and (useShift)) }
i=i+1; Skill[i] = { name = "Thunderclap", use = ((not friendly) and (useShift) and (not string.find(tbuffs,"Thunderclap"))) }
i=i+1; Skill[i] = { name = "Lightning", use = ((not friendly) and (GetActionUsable(arg2)) and (not string.find(tbuffs,"Lightning"))) }
i=i+1; Skill[i] = { name = "Electric Bolt", use = ((not friendly) and (not string.find(tbuffs,"Electric Flow")) and (string.find(tbuffs,"Lightning"))) }
i=i+1; Skill[i] = { name = "Fireball", use = ((not friendly) and (GetActionUsable(arg4)))}
i=i+1; Skill[i] = { name = "Fire Rose", use = ((not friendly) and (not string.find(tbuffs,"Fire Rose III"))) }
i=i+1; Skill[i] = { name = "Meteor Shower", use = ((not friendly) and (GetActionUsable(arg3)) and (string.find(tbuffs,"Lightning")) and (not string.find(dbuffs,"Mind Attack")))}
i=i+1; Skill[i] = { name = "Shot", use = ((not friendly) and (string.find(pbuffs,"Fire Arrow")) and (GetActionUsable(arg5)))}
i=i+1; Skill[i] = { name = "Vampire Arrows", use = ((not friendly) and (not string.find(tbuffs,"Lightning")))}
i=i+1; Skill[i] = { name = "Flame", use = (not friendly) }
MyCombat(Skill,arg1)
end
function MageScoutBuffs(arg1)
local Skill = {}
local i = 0
local useShift = IsShiftKeyDown()
-- Player and target status.
local friendly = (not UnitCanAttack("player","target"))
local plife = PctH("player")
local pMana = PctM("player")
local pbuffs = BuffList("player")
local tbuffs = BuffList("target")
-- Buffs.
i=i+1; Skill[i] = { name = "Fire Arrow", use = ((not string.find(pbuffs,"Fire Arrow")))}
i=i+1; Skill[i] = { name = "Fire Ward", use = ((not string.find(pbuffs,"Fire Ward")))}
i=i+1; Skill[i] = { name = "Energy Well", use = ((not string.find(pbuffs,"Energy Well")))}
i=i+1; Skill[i] = { name = "Energy Influx", use = ((not string.find(pbuffs,"Energy Influx")))}
i=i+1; Skill[i] = { name = "Elemental Catalysis", use = ((not string.find(pbuffs,"Elemental Catalysis")))}
i=i+1; Skill[i] = { name = "Intensification", use = ((not string.find(pbuffs,"Intensification")))}
MyCombat(Skill,arg1)
end
|
|
|
Source code |
1 |
local mana = UnitMana("player")/UnitMaxMana("player")
|
|
|
Source code |
1 |
i=i+1; Skill[i] = { name = "Thorny Vine", use = (mana >= 30) }
|
|
|
Source code |
1 |
local mana = UnitMana("player")
|
|
|
Source code |
1 2 |
local mana = PctM("player")
i=i+1; Skill[i] = { name = "Thorny Vine", use = (mana >= .30) }
|
