|
|
Source code |
1 2 3 4 |
elseif string.find(Skill[x].name, "Macro:") then action = string.gsub(Skill[x].name, "(Macro:)( *)(.*)", "%3") ExecuteMacroLine(action) return true |
Not quite... Make it like this instead:--Potions and Buffs Skill = {
{ name = "Action: "..healthpot, use = (phealth <= .70) },
{ name = "Survival Instinct", use = (phealth <= .33) and combat },
[[{ name = "Action: "..Healslot, use = (phealth < .70) and (not combat) and (not party) }]],
[[{ name = "Action: "..HoTslot, use = (phealth < .80) and (not party) }]],
|
|
Source code |
1 2 3 4 5 6 7 |
--Potions and Buffs
Skill = {
{ name = "Action: "..healthpot, use = (phealth <= .70) },
{ name = "Survival Instinct", use = (phealth <= .33) and combat },
--{ name = "Action: "..Healslot, use = (phealth < .70) and (not combat) and (not party) },
--{ name = "Action: "..HoTslot, use = (phealth < .80) and (not party) },
}
|
RPGGM
Location: North Central Indiana, USA
Occupation: IT & Management Consultant, Landscaper, Survivalist
This post has been edited 1 times, last edit by "BlankMinded" (Feb 15th 2014, 4:16pm)
Quoted
--Potion & Food Checks
healthpot = healthpot or 0
manapot = manapot or 0
speedpot = speedpot or 0
foodslot = foodslot or 0
This post has been edited 2 times, last edit by "hellotoyou" (Feb 16th 2014, 2:34am)
|
|
Source code |
1 2 3 |
function KillSequence(arg1, mode, healthpot, manapot, Healslot, foodslot, speedpot, ragepot, HoTslot, PSIslot, newpothere) newpothere = newpothere or 0 |
|
|
Source code |
1 2 3 4 5 6 7 8 |
if enemy and (mode == "DPS") and tbuffs["Hide"] then
Skill2 = {
{ name = "Hide Scent", use = (CD("Hide Scent")) },
{ name = "Hidden Peril", use = (CD("Hidden Peril")) },
{ name = "Thorn Arrow", use = (CD("Thorn Arrow")) },
{ name = "Wind Arrows", use = (EnergyBar2 >= 15) },
{ name = "Shot", use = (CD("Shot")) },
}
|
|
|
Source code |
1 |
{ name = "Hide Scent", use = tbuffs[500675] and (CD("Hide Scent")) },
|
|
|
Source code |
1 |
local hide = false for i =1,50 do if UnitBuff("target", i) == "Hide" then hide = true break elseif not UnitBuff("target",i) then break end end
|