|
|
Source code |
1 |
commands.lua |
|
|
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 |
SLASH_DoIt1 = "/doit"
SlashCmdList['DoIt'] = function(ebox, param)
if param=="part1" then
TargetNearestFriend()
if not UnitIsPlayer("target") then
for i=1,100 do
n = UnitBuff("target", i)
if n=="Grace of Life" then
break
end
end
UseSkill(4,10)
end
elseif param=="part2" then
if not UnitIsPlayer("target") then
for i=1,100 do
n = UnitBuff("target", i)
if n=="Amplified Attack" then
break
end
end
UseSkill(4,16)
end
end
end
|
|
|
Source code |
1 2 3 |
/doit part1 /wait .8 /doit part2 |
|
|
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 |
SLASH_ChkBuff1 = "/ChkBuff"
SlashCmdList['ChkBuff'] = function(ebox, param)
if param=="Grace" then
if UnitIsPlayer("target") then
for i=1,100 do
if(UnitBuff("target", i)=="Grace of Life") then
break
elseif(i==100) then
UseSkill(4,10)
end
end
end
elseif param=="Amp" then
if UnitIsPlayer("target") then
for i=1,100 do
if(UnitBuff("target", i)=="Amplified Attack") then
break
elseif(i==100) then
UseSkill(4,16)
end
end
end
end
end
|
Quoted from "ghostwolf82;598384"
Look at the DIYCE v2 thread, learn how to make a custom lua file, and then look into the buffparty function I have in diyce. Honestly, that is the only way to shorten (and speed up) what you are trying to do.
I added that into DIYCE to give priests and druids a reason to want DIYCE.
Quoted from "karmakarma;598503"
No offense to diyce users but it really takes all the fun and skill out of playing the game when all you have to do is spam the same button repeatedly and let the script do what's best for you