You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1,041

Friday, April 5th 2013, 1:17pm

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


is there a change log?

1,042

Friday, April 5th 2013, 4:35pm

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.
Formerly known as GhostWolf.
AddOn: Auto Ding
AddOn: DIY Combat Engine v2

1,043

Friday, April 5th 2013, 7:48pm

For the Warlock/Rogue

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


For the Warlock/Mage

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
Formerly known as GhostWolf.
AddOn: Auto Ding
AddOn: DIY Combat Engine v2

1,044

Friday, April 5th 2013, 9:00pm

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.


Was just wondering becuase i added the timer code from this thread,was that added?

1,045

Friday, April 5th 2013, 9:03pm

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

1,046

Friday, April 5th 2013, 9:41pm

Quoted from "Nito;596668"

Was just wondering becuase i added the timer code from this thread,was that added?


Yes, added that in as well.

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


It depends. IMO, move your current version out of the addons folder, then grab the newest one and check for the differences.

Grabbing the newest one WILL overwrite your current one. Thus, you will lose the additions you have made as well. Including the class combo's you have added.

Yet another reason to keep your current version elsewhere, so when an update is applied, you can add your combo code back in easily.
Formerly known as GhostWolf.
AddOn: Auto Ding
AddOn: DIY Combat Engine v2

1,047

Sunday, April 7th 2013, 7:47pm

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.

1,048

Monday, April 8th 2013, 12:19am

The reason for the timers is exactly because there is no other way to know when you cast your last DoT skill. There is no way to know who cast which DoT outside of using a timer to keep track of your last use of it. Also, as for the lag computations, this is because skills will only fire when the animation for them happens. IMO dumb way to code for a game so prone to lag, but just another day in RoM.

As for Wardens, I haven't played a Warden in a couple of years. As stated in the description for DIYCE and elsewhere in this thread, if something doesn't work for you, make it better. I have no interest in playing a warden at this time :cool:


As a side note: A new version (2.4) is up on Curse. DIYCE now has Addon Manager support included. If DIYCE loads properly, it will show in Addon Manager. This makes for debugging easier. If it shows up, the DIYCE.lua has properly loaded, and any further issues you will have are in CustomFunctions.lua
Formerly known as GhostWolf.
AddOn: Auto Ding
AddOn: DIY Combat Engine v2

Cike

Rogue

Posts: 4,171

Occupation: Being Human

  • Send private message

1,049

Monday, April 8th 2013, 12:37am

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.


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....

RoMunited

Professional

Posts: 889

Location: Reni

  • Send private message

1,050

Monday, April 8th 2013, 1:09am

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....


I think Peryl told me that we can't see who casted what spells/skills on a target, but don't hold me to that

I agree with Cike though, if you don't want to put in the work yourself, you deserve a gimped DIYCE. Ghost is just putting out basic functions with basic skills so that you can learn how to do it yourself.

If you can't figure out how to put Charged Chop in, stop using DIYCE :P

1,051

Monday, April 8th 2013, 7:55pm

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['Bleed'] and tbuffs['Bleed'].stack >= 2)) },
Skyomega = Warrior/Champion/Rogue 72/55/50 <Retire
Skylotus = Knight/Warrior/Scout 72/72/59 <Retire
luminousindigo.guildlaunch.com
[img][/img]

1,052

Monday, April 8th 2013, 8:02pm

Here is my Champion/Rogue Diyce

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


P.S you will have to make two in-game Macro, one for Melee and one for Range

/run KillSequence("","1") < Melee
/run KillSequence("","2") < Range

Enjoy =)
Skyomega = Warrior/Champion/Rogue 72/55/50 <Retire
Skylotus = Knight/Warrior/Scout 72/72/59 <Retire
luminousindigo.guildlaunch.com
[img][/img]

Cike

Rogue

Posts: 4,171

Occupation: Being Human

  • Send private message

1,053

Monday, April 8th 2013, 8:02pm

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)) },


this is a great example of some1 asking for help. wonderfully written, comprehensible, and a great diy attitude...kudos to you for such a great post...

unfortunately, I can't help you, but I did like to at least point out the wonderful attitude of this poster asking for help...

1,054

Monday, April 8th 2013, 9:11pm

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 =)


TA is only going to give the extra damage when it is the bleed from Slash, so you will need to make it specific to that. If you want it to only trigger when there is another bleed effect on the target, you will need to know the ID numbers for those bleeds and code that in. Does your bleed from slash stack? If so, just use the ID for your bleed in the .stack

But the syntax you are trying to use will not work the way you have it.
Formerly known as GhostWolf.
AddOn: Auto Ding
AddOn: DIY Combat Engine v2

ArkanaROM

Intermediate

Posts: 193

Location: Devon, UK

Occupation: Making games...

  • Send private message

1,055

Monday, April 8th 2013, 9:35pm

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 =)


Try the following, not done much for Warriors but it *should* work, the id is the Slash id iirc:

Source code

1
{ name = "Tactical Attack",    use = (EnergyBar1 >= 15) and (tbuffs[500081] and tbuffs[500081].stack >= 2) },


Would only really be useful though when in a party with other Warriors and only if it stacks, ie not individual occurrences of the same type of bleed.

----------------EDIT----------------

Having done some digging around I don't think the stack check will help/work in this case since Slash doesn't appear to stack in a way DIYCE would be able to read from the list/tables.

In DIYCE.lua put: (credit to XariRom)

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


And then in your CustomFunctions.lua: (Credit as above)

Source code

1
{ name = "Tactical Attack",   use = ((EnergyBar1 >= 15) and (ChkBuffCount("target",_,500081,2))) },

1,056

Monday, April 8th 2013, 11:24pm

I will be adding that to the main file on Curse. I missed that along the way.
Formerly known as GhostWolf.
AddOn: Auto Ding
AddOn: DIY Combat Engine v2

1,057

Monday, April 8th 2013, 11:41pm

Thank you SkyFyre and ArkanaRom

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
Skyomega = Warrior/Champion/Rogue 72/55/50 <Retire
Skylotus = Knight/Warrior/Scout 72/72/59 <Retire
luminousindigo.guildlaunch.com
[img][/img]

1,058

Monday, April 8th 2013, 11:53pm

Can you guys take a look at my code and tell me if I did this right pls thx =)

I would also have to add this to my code as well correct?
CreateDIYCETimer("Slash", 8)

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" },
Skyomega = Warrior/Champion/Rogue 72/55/50 <Retire
Skylotus = Knight/Warrior/Scout 72/72/59 <Retire
luminousindigo.guildlaunch.com
[img][/img]

ArkanaROM

Intermediate

Posts: 193

Location: Devon, UK

Occupation: Making games...

  • Send private message

1,059

Tuesday, April 9th 2013, 12:11am

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


As posted, due to Slash not stacking in terms read by DIYCE currently you need to copy the function ChkBuffCount I posted above into your DIYCE.lua file, just paste at the end of a current function (After the "end" and before the next "function") .

Then in your skills list you can trigger Tactical Attack when two or more Slash Bleeds are found by using:

Source code

1
{ name = "Tactical Attack",   use = ((EnergyBar1 >= 15) and (ChkBuffCount("target",_,500081,2))) },


Hope that helps...

1,060

Tuesday, April 9th 2013, 12:17am

Thank you very much ArkanaRom! =)
Skyomega = Warrior/Champion/Rogue 72/55/50 <Retire
Skylotus = Knight/Warrior/Scout 72/72/59 <Retire
luminousindigo.guildlaunch.com
[img][/img]