Quoted from "SkyFyre;596484"
Thanks Peryl! Hadn't checked it in awhile, you got to it before I did haha! That should hold people for awhile until you have FD ready to roll out. I'm looking forward to seeing it. When you have it ready, if you need a beta tester, I'll give it a go.
Edit: Now showing in the New Addons section as well. http://www.curse.com/addons/rom/new
|
|
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 |
--Class Warlock/Rogue
elseif mainClass == "HARPSYN" and subClass == "THIEF" then
--Potions and Buffs
Skill = {
{ name = "Action: "..healthpot, use = (phealth <= .70) },
{ name = "Action: "..manapot, use = (pctEB2 <= .40) },
{ name = "Sublimation Weave Curse", use = (EnergyBar1 >= 50) and ((not pbuffs['Sublimation Weave Curse']) or (pbuffs['Sublimation Weave Curse'].time <= 45)) },
}
--Combat
if enemy then
if (mode == "dps") then
Skill2 = {
{ name = "Soul Pain", use = (EnergyBar1 >= 15) and (not tbuffs[621188]) and (PsiPoints == 6) },
{ name = "Perception Extraction", use = (EnergyBar1 >= 15) and (not tbuffs[621701]) },
{ name = "Soul Poisoned Fang", use = (EnergyBar2 >= 25) and (not tbuffs[621399]) },
{ name = "Custom: Willpower Blade", use = (EnergyBar1 >= 30) and (not pbuffs['Willpower Blade']) and (PsiPoints == 6) },
{ name = "End of Thought", use = (pbuffs['Willpower Blade']) and (PsiPoints >= 3) and (thealth <= .35) },
{ name = "Crime and Punishment", use = (pbuffs['Willpower Blade']) and (PsiPoints >= 2) },
{ name = "Perception Extraction", use = (EnergyBar1 <= 30) and (EnergyBar1 >= 15) and (not tbuffs[621701]) },
{ name = "Heart Collection Strike", use = (EnergyBar1 <= 20) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) and (not pbuffs['Warp Charge']) },
{ name = "Puzzlement", use = (EnergyBar1 >= 20) and (not pbuffs['Willpower Blade']) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) and (pbuffs['Willpower Blade']) },
{ name = "Psychic Arrows", use = (EnergyBar1 >= 20) and (not pbuffs['Willpower Blade']) },
{ name = "Shadowstab", use = (EnergyBar2 >= 20) },
}
elseif (mode == "AoE") then
Skill2 = {
{ name = "Weakening Weave Curse", use = (EnergyBar1 >= 20) },
{ name = "Surge of Malice", use = (EnergyBar1 >= 20) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) },
{ name = "Shadowstab", use = (EnergyBar2 >= 20) },
}
elseif (mode == "QuickKill") then
Skill2 = {
{ name = "Shadowstab", use = (EnergyBar2 >= 20) },
{ name = "Heart Collection Strike", use = (EnergyBar1 <= 20) },
{ name = "Perception Extraction", use = (EnergyBar1 <= 30) and (EnergyBar1 >= 15) and (not tbuffs[621701]) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) and (not pbuffs['Warp Charge']) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) },
{ name = "Weakening Weave Curse", use = (EnergyBar1 >= 20) and (not tbuffs['Weakened']) },
{ name = "Surge of Malice", use = (EnergyBar1 >= 20) and (tbuffs['Weakened']) },
{ name = "Puzzlement", use = (EnergyBar1 >= 20) },
{ name = "Psychic Arrows", use = (EnergyBar1 >= 20) },
}
else
Skill2 = {
{ name = "Heart Collection Strike", use = (EnergyBar1 <= 20) },
{ name = "Perception Extraction", use = (EnergyBar1 <= 30) and (EnergyBar1 >= 15) and (not tbuffs[621701]) },
{ name = "Soul Poisoned Fang", use = (EnergyBar2 >= 25) and (not tbuffs[621399]) },
{ name = "Shadowstab", use = (EnergyBar2 >= 20) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) and (not pbuffs['Warp Charge']) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) },
{ name = "Weakening Weave Curse", use = (EnergyBar1 >= 20) and (not tbuffs['Weakened']) },
{ name = "Surge of Malice", use = (EnergyBar1 >= 20) and (tbuffs['Weakened']) },
{ name = "Puzzlement", use = (EnergyBar1 >= 20) },
{ name = "Psychic Arrows", use = (EnergyBar1 >= 20) },
}
end
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 |
--Class Warlock/Mage
elseif mainClass == "HARPSYN" and subClass == "MAGE" then
--Potions and Buffs
Skill = {
{ name = "Action: "..healthpot, use = (phealth <= .70) },
{ name = "Action: "..manapot, use = (pctEB2 <= .40) },
{ name = "Thinking Overload", use = boss },
{ name = "Sublimation Weave Curse", use = (EnergyBar1 >= 50) and ((not pbuffs['Sublimation Weave Curse']) or (pbuffs['Sublimation Weave Curse'].time <= 45)) },
{ name = "Fire Ward", use = (pctEB2 >= .05) and ((not pbuffs['Fire Ward']) or (pbuffs['Fire Ward'].time <= 45)) },
{ name = "Focus Building", use = (not pbuffs['Focus Building']) },
{ name = "Intensification", use = boss and (pctEB2 >= .05) },
}
--Combat
if enemy then
if (mode == "dps") then
Skill2 = {
{ name = "Silence", use = (silenceThis) },
{ name = "Custom: Willpower Blade", use = (EnergyBar1 >= 30) and (not pbuffs['Willpower Blade']) and (PsiPoints == 6) },
{ name = "Custom: Flaming Heart Strike", use = (pbuffs['Willpower Blade']) and (PsiPoints >= 1) and (pctEB2 >= .05) },
{ name = "Custom: Soul Brand Sting", use = (pbuffs['Willpower Blade']) and (PsiPoints >= 1) and (g_lastaction ~= "Soul Brand Sting") },
{ name = "Perception Extraction", use = (EnergyBar1 <= 30) and (not tbuffs['Perception Extraction']) },
{ name = "Heart Collection Strike", use = (EnergyBar1 <= 20) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) and (not pbuffs['Warp Charge']) },
{ name = "Custom: Psychic Arrows", use = (EnergyBar1 >= 20) and (not pbuffs['Willpower Blade']) and (g_lastaction ~= "Psychic Arrows") },
{ name = "Puzzlement", use = (EnergyBar1 >= 20) and (not pbuffs['Willpower Blade']) },
{ name = "Flaming Heart Strike", use = (pctEB2 >= .05) and (not pbuffs['Willpower Blade']) },
{ name = "Fireball", use = (pctEB2 >= .05) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) },
{ name = "Psychic Arrows", use = (EnergyBar1 >= 20) },
}
elseif (mode == "SB") then
Skill2 = {
{ name = "Silence", use = (silenceThis) },
{ name = "Perception Extraction", use = (EnergyBar1 >= 15) and (not tbuffs[621446] or tbuffs[621446].stack < 4) },
}
elseif (mode == "AoE") then
Skill2 = {
{ name = "Silence", use = (silenceThis) },
{ name = "Weakening Weave Curse", use = (EnergyBar1 >= 20) },
{ name = "Surge of Malice", use = (EnergyBar1 >= 20) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) },
{ name = "Fireball", use = (pctEB2 >= .05) },
}
else
Skill2 = {
{ name = "Silence", use = (silenceThis) },
{ name = "Perception Extraction", use = (EnergyBar1 <= 30) and (not tbuffs['Perception Extraction']) },
{ name = "Heart Collection Strike", use = (EnergyBar1 <= 20) },
{ name = "Fireball", use = (pctEB2 >= .05) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) and (not pbuffs['Warp Charge']) },
{ name = "Warp Charge", use = (EnergyBar1 >= 30) },
{ name = "Flaming Heart Strike", use = (pctEB2 >= .05) },
{ name = "Weakening Weave Curse", use = (EnergyBar1 >= 20) and (not tbuffs['Weakened']) },
{ name = "Surge of Malice", use = (EnergyBar1 >= 20) and (tbuffs['Weakened']) },
{ name = "Puzzlement", use = (EnergyBar1 >= 20) },
{ name = "Psychic Arrows", use = (EnergyBar1 >= 20) },
}
end
end
|
Quoted from "SkyFyre;596639"
Didn't make one. I added a few of the things that were put into this thread along the way, including a couple of additions by Peryl from my time away from the game. If you have been working with DIYCE for awhile now, it will be easy to spot the differences from v2.2 (the link in the first post) and v2.3 (the version on Curse).
I know I added the use of calling another Function in the skill list, as well as the sublist, and a few more names into the silence list.
Quoted from "Nito;596668"
Was just wondering becuase i added the timer code from this thread,was that added?
Quoted from "BloodyArrow;596669"
Hey,
Just wanted to ask, what is new with the latest version of DIYCE, I got the previous version of this (still v2)? Shall I upgrade to the newest one you posted on Curse or what would you suggest?
-B

Quoted from "BlankMinded;596933"
Downloaded the newest version of diyce. I love the addition of timers but some cases they are not necessary. In particular the use of certain skills dependent on certain sets of debuffs on the boss, needing to adjust timers based on lag seems a little ineffective to me. A function such as
local Scount = 0
if UnitDebuff("target", 1) then
for r=1,100 do
local slbuff, _, slstackSize, slID = UnitDebuff("target", r)
if slID == 500081 then
Scount = Scount +1
elseif not slbuff then
break
end
end
end
can be used to count the number of individual buffs on a target (in this case the number of Warrior slash bleeds). All you need to do is determine the buff/debuff id. For debuffs that share the same name but the owner/creator matters like rogue shadowstab and lowblow bleeds, is there possibly a way to determine the owner? I've looked briefly for a way to get that but haven't put much effort in and don't have anything at the moment. This would eliminate the need for a lot of the timers you use.
Also, your melee dps functions for any class involving warden are quite poorly written. Charged Chop currently has no global cooldown, meaning charged chop + another skill takes fractions of the time it takes to use 2 skills on other classes. Same goes for throw. Using charged chop + shadow stab, charged chop lowblow, charged chop wound attack on r/wd for example significantly increases dps.
Quoted from "Cike;596964"
so fix it yourself...after all it is called "do it YOURSELF combat engine"...u can't complain about other people's work if u are not even going to attempt to improve it yourself....
|
|
Source code |
1 |
{ name = "Tactical Attack", use = ((EnergyBar1 >= 15) and (tbuffs['Bleed'] and tbuffs['Bleed'].stack >= 2)) },
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
-- Class: Champion/Rogue elseif mainClass == "PSYRON" and subClass == "THIEF" then
if (mode == "1") then
Skill = {
{ name = "Vacuum Wave", use = (silenceThis) },
{ name = "Electrocution", use = (silenceThis) },
{ name = "Remodeled Body", use = ((phealth <= .20) and (pbuffs[621237])) },
{ name = "Forge", use = (not pbuffs[622184]) },
{ name = "Rune Growth", use = (not pbuffs[621209]) },
{ name = "Death Arrives", use = ((pbuffs[621482]) and (boss)) }, -- Only activates when Shadow step is used
{ name = "Rune Pulse", use = (pbuffs[622185]) },
{ name = "Fearless Blows", use = ((EnergyBar1 >= 15) and (thealth <= .45)) },
{ name = "Rune Energy Influx", use = ((EnergyBar1 >= 10) and (pbuffs[621237]) and (boss)) },
{ name = "Shock Strike", use = ((EnergyBar1 >= 25) and (pbuffs[621237])) },
{ name = "Shadowstab", use = (EnergyBar2 >= 20) },
}
elseif ((enemy) and (mode == "2")) then
Skill2 = {
{ name = "Shadow Pulse", use = (EnergyBar2 >= 20) },
{ name = "Throw", use = (enemy) },
}
end
|
Quoted from "Skylotus;597062"
Hello everyone, I need some help with this code, I"m trying to have my skill Tactical Attack used only when there is more then 2 bleeds effect on target. Also I notice that Bleed from Slash and Shadow stab are different so instead of ID number I place "Bleed" hoping that it would read all types of Bleed... but yeah... its seems to not be working at all. Need some Help pls =)
{ name = "Tactical Attack", use = ((EnergyBar1 >= 15) and (tbuffs['Bleed'] and tbuffs[''Bleed'].stack >= 2)) },
Quoted from "Skylotus;597062"
Hello everyone, I need some help with this code, I"m trying to have my skill Tactical Attack used only when there is more then 2 bleeds effect on target. Also I notice that Bleed from Slash and Shadow stab are different so instead of ID number I place "Bleed" hoping that it would read all types of Bleed... but yeah... its seems to not be working at all. Need some Help pls =)
Quoted from "Skylotus;597062"
Hello everyone, I need some help with this code, I"m trying to have my skill Tactical Attack used only when there is more then 2 bleeds effect on target. Also I notice that Bleed from Slash and Shadow stab are different so instead of ID number I place "Bleed" hoping that it would read all types of Bleed... but yeah... its seems to not be working at all. Need some Help pls =)
|
|
Source code |
1 |
{ name = "Tactical Attack", use = (EnergyBar1 >= 15) and (tbuffs[500081] and tbuffs[500081].stack >= 2) },
|
|
|
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 |
function ChkBuffCount(tgt,buffname,BuffID,buffcount) local cnt = 1
local buffcmd = UnitBuff
local buffcounter = 0
if UnitCanAttack("player",tgt) then
buffcmd = UnitDebuff
end
local buff, _, _, ID = buffcmd(tgt,cnt)
while buff ~= nil do
if string.gsub(buff, "(%()(.)(%))", "%2") == buffname
or ID == BuffID then
buffcounter = buffcounter + 1
end
cnt = cnt + 1
buff = buffcmd(tgt,cnt)
if buffcounter >= buffcount then
return true
end
end
end
|
|
|
Source code |
1 |
{ name = "Tactical Attack", use = ((EnergyBar1 >= 15) and (ChkBuffCount("target",_,500081,2))) },
|

|
|
Source code |
1 2 |
{ name = "Tactical Attack", use = ((EnergyBar1 >= 15) and (tbuffs[500081] and tbuffs[500081].stack >= 2)) },
{ name = "Slash", use = (EnergyBar1 >= 25) and (not tbuffs[500081]), timer = "Slash" },
|
Quoted from "Skylotus;597091"
So to my understanding... I change my "Bleed" to ID # of Slash and my code should work when their is another warrior in my party? and lets say it does work How would I write a code to read my own Slash instead of targets debuffs? would I have to make my slash code to timer? sry for the questions
|
|
Source code |
1 |
{ name = "Tactical Attack", use = ((EnergyBar1 >= 15) and (ChkBuffCount("target",_,500081,2))) },
|