|
|
Source code |
1 2 3 4 5 6 7 8 9 |
function IsHidden (arg1)
local hide = false
for i =1,50 do
if UnitBuff("target", i) == "Hide" then
hide = true
end
end
return hide
end
|
|
|
Source code |
1 |
{name = "Hide Scent",use = IsHidden },
|
|
|
Source code |
1 2 3 4 |
if (enemy and (mode == "DPS") and IsHidden) then
Skill2 = {
{ name = "Hide Scent", use = true },
}
|
This post has been edited 1 times, last edit by "BlankMinded" (Feb 16th 2014, 9:52pm)
|
|
Source code |
1 |
local hidden = IsHidden() |
|
|
Source code |
1 2 3 4 |
if (enemy and (mode == "DPS") and (hidden) ) then
Skill2 = {
{ name = "Hide Scent", use = true },
}
|
|
|
Source code |
1 2 3 4 |
if (enemy and (mode == "DPS") ) then
Skill2 = {
{ name = "Hide Scent", use = (hidden) },
}
|
There's much discussion relating to your question/view/belief/opinion/w/e you wanna call it in there.please read regarding diyce vs botting here: Discussion: Is the use of DIYCE botting?
|
|
Source code |
1 2 3 4 5 6 |
--Class: Rogue/Knight if mainClass == "THIEF" and subClass == "KNIGHT" then --Timers for this class CreateDIYCETimer("SSBleed", 8.8) --Change the value between 6 -> 7.5 depending on your lag. CreateDIYCETimer("LBBleed", 8.8) --Change the value between 7 -> 8.5 depending on your lag. --goat2: 0 = Burns, 1 = Main/Melee
if (goat2 == "0") then Skill = { { name = "Informer", use = ((not pbuffs['Informer'])) }, { name = "Fervent Attack", use = ((not pbuffs['Strong Stimulant'])) }, { name = "Assassins Rage", use = (true) }, }
elseif (goat2 == "1") then --Cures Skill = { { name = "Holy Light Protection", use = (pdebuffs["Lightning"]) }, { name = "Courageous Guard", use = ((pdebuffs["Horror"]) or (pdebuffs["Fear"]) or (pdebuffs["Terror"]) or (pdebuffs["Flame Burn"])) }, { name = "Poison Protection", use = (pdebuffs["Poison"]) }, { name = "Action: 21 (Escape)", use = ((pdebuffs[500735]) or (pdebuffs["Entangle"]) or (pdebuffs["Movement Restriction"]) or (pdebuffs["Lightning"]) or (pdebuffs[500223])) }, { name = "Action: 23 (Gloves)", use = ((pdebuffs[500735]) or (pdebuffs["Entangle"]) or (pdebuffs["Movement Restriction"]) or (pdebuffs["Lightning"]) or (pdebuffs[500223])) }, --Heals { name = "Power of the Lion", use = (phealth <= .80) and (pctEB2 >= .05) and (pbuffs[620316]) }, { name = "Action: 61 (Herb)", use = (phealth <= .60) }, { name = "Action: 43 (HP Pot)", use = (phealth <= .60) },
--Buffs { name = "Lion's Protection", use = (pctEB2 >= .05) and ((not pbuffs[620316]) or (pbuffs[620316].time <= 45)) }, { name = "Searing Light", use = (pctEB2 >= .05) and ((not pbuffs[503268]) or (pbuffs[503268].time <= 45)) }, { name = "Enhanced Armor", use = (pctEB2 >= .05) and ((not pbuffs[500141]) or (pbuffs[500141].time <= 45)) }, { name = "Action: 13 (Unknown Choice)", use = (not combat) }, { name = "Hide", use = (not combat) and (not pbuffs[500675]) }, } end --Combat if ((enemy) and (goat2 == "1")) then Skill2 = { { name = "Strike of Punishment", use = (pctEB2 >= .01) and not ((tbuffs[500223]) or (tbuffs[500735])) }, { name = "Shadow Prison", use = (EnergyBar1 >= 65) and not ((tbuffs[500223]) or (tbuffs[500735])) }, { name = "Blind Stab", use = (EnergyBar1 >= 25) and not ((tbuffs[500223]) or (tbuffs[500735]) or (tbuffs[500691])) }, { name = "Wound Attack", use = (EnergyBar1 >= 35) and (tbuffs[620313]) and (tbuffs[500704]) }, { name = "Low Blow", use = (EnergyBar1 >= 25) and (tbuffs[620313]) and (not tbuffs[500704]), timer = "LBBleed" }, { name = "Shadowstab", use = (EnergyBar1 >= 20) and (not tbuffs[620313]), timer = "SSBleed" }, { name = "Shadowstab", use = (EnergyBar1 >= 20) }, { name = "Attack", use = (thealth == 1) }, } end
|
i will try and answer your question to the best of my knowledge, hopefully rale will tell me where i am wrongi wanna use the wd/rogue text he has in the customllua....when i open that custom lua with notepad it has a whole lot of other classes info and what not do i go to file at top of page for blank page to write on...im confused sorry or do i just have to do nothing and just /runKillSequence in game


You do not need to do anything special. Go to the first page of this thread and READ THE INSTRUCTIONS. All you need to do is put class function into Customfunctions.lua (since you want to use one already present, you don't need to do anything) and run macro in game.i wanna use the wd/rogue text he has in the customllua....when i open that custom lua with notepad it has a whole lot of other classes info and what not do i go to file at top of page for blank page to write on...im confused sorry or do i just have to do nothing and just /runKillSequence in game
|
|
Source code |
1 |
if (a == 1) then UseAction(27) |
|
|
Source code |
1 2 |
/run SendChatMessage(tostring(true == 1), "SAY") /run SendChatMessage(tostring(false == 1), "SAY") |
|
|
Source code |
1 |
/run local _,CD = GetSkillCooldown(3,1) local usable = GetActionUsable(27) if usable then UseAction(27) elseif (CD <= 0.1) then UseAction(3) else KillSequence() end |
This post has been edited 1 times, last edit by "BlankMinded" (Mar 31st 2014, 3:35am)
This post has been edited 1 times, last edit by "dreamweaver537" (Apr 10th 2014, 2:49am)
|
|
Source code |
1 2 |
/equip my random items /run KillSequence() |
|
|
Source code |
1 2 3 4 5 6 7 |
/run UseItemByName("Lyong's Helmet")
/wait 0.3
/run UseItemByName("Lyong's Chainmail")
/wait 0.3
/run UseItemByName("Lyong's Boots")
/wait 0.3
/run UseItemByName("Lyong's Shoulder Guards")
|
This post has been edited 4 times, last edit by "BlankMinded" (Apr 10th 2014, 3:22am)