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.

781

Sunday, September 16th 2012, 3:21am

I have absolutely no idea what I am doing. I put in my priority list but the issue I am having is even if my top priority skill is off CD it is still going down the list. IE I have listed priority in order of Cross Chop, Blade of Protection, Charged Chop, Thorny Vines, Frantic Briar. I don't know why but it casts the first three right. Then it gets into a loop of Charged Chop Thorny Vines, Charged Chop, Frantic Briar, Charged Chop, Thorny Vines... It isn't going back up to Cross Chop and Blade of Protection. O_o

Never mind, it seems it is working. Didn't notice the chat spam to see which skills it was trying to use. It must have been a lag problem when first tested. However, I was wondering, is there a script to have a pet skill thrown into the priority list? I would like to get my pet to cast Magic Control, yeah it isn't in his spell bar atm cause of a bug, but it is still in the skill book so in theory it should still be able to be cast.

Also was curious about maybe a script that would add my taunt to my priority list if and when I loose aggro on my target?

P.S I would share the code for the wrdn/d priority list but as limited as my understanding of this code stuff, all I could do was set my skills as true...

782

Sunday, September 16th 2012, 3:43pm

ok, sry to be a pain but this code I can't seem to make it work right.

Quoted

{ name = "Punishment", use = ((EnergyBar1 >= 25) and (tbuffs[501502]) and ((not tbuffs[506878]) or (tbuffs[506878].time <= 30))) },

So what I want the code to do is, use punishment when it meets its requirements and then it has to wait 30 sec to be able to use punishment again, but it keep trying to use it when the skill has to wait 30sec after use to be use again. I have no idea what I am doing wrong need some expert eyes on the matter.

Here is the Punishment skill = http://www.runesdatabase.com/skill/495713/punishment

Again Thank You in advance for your help =)
Skyomega = Warrior/Champion/Rogue 72/55/50 <Retire
Skylotus = Knight/Warrior/Scout 72/72/59 <Retire
luminousindigo.guildlaunch.com
[img][/img]

783

Sunday, September 16th 2012, 8:48pm

Quoted from "Skylotus;569899"

ok, sry to be a pain but this code I can't seem to make it work right.

So what I want the code to do is, use punishment when it meets its requirements and then it has to wait 30 sec to be able to use punishment again, but it keep trying to use it when the skill has to wait 30sec after use to be use again. I have no idea what I am doing wrong need some expert eyes on the matter.

Here is the Punishment skill = http://www.runesdatabase.com/skill/495713/punishment

Again Thank You in advance for your help =)

You'll have to set timers for your diyce, read through the first 20 or so pages, its somewhere in there.

Ravesden, D/S/Wd 80/75/62
Retired. Click siggy for old RoM vids, among other things.

mrmisterwaa

Professional

Posts: 670

Location: Kuwait

  • Send private message

784

Sunday, September 16th 2012, 9:41pm

Quoted from "Skylotus;569899"

ok, sry to be a pain but this code I can't seem to make it work right.

So what I want the code to do is, use punishment when it meets its requirements and then it has to wait 30 sec to be able to use punishment again, but it keep trying to use it when the skill has to wait 30sec after use to be use again. I have no idea what I am doing wrong need some expert eyes on the matter.

Here is the Punishment skill = http://www.runesdatabase.com/skill/495713/punishment

Again Thank You in advance for your help =)


Actually, to speed up the process. You can look at my R/S DIYCE macro and take out the "fake" cooldown timers I have placed for a few skills.

785

Monday, September 17th 2012, 3:38pm

Once again Thanks for helping me out =) Ravesden and mrmisterwaa
Skyomega = Warrior/Champion/Rogue 72/55/50 <Retire
Skylotus = Knight/Warrior/Scout 72/72/59 <Retire
luminousindigo.guildlaunch.com
[img][/img]

786

Monday, September 17th 2012, 9:23pm

So with my limited sense of what means what, and the help of bilalab, I have put together :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--Class: Warden/Druid
            elseif mainClass == "WARDEN" and subClass == "DRUID" then
            
            --Potions and Buffs
            Skill = {
                { name = "Recover",                      use = (phealth <= .65) and (pctEB2 >= .05) and (not pbuffs['Recover']) },
                { name = "Action: "..healthpot,          use = (phealth <= .70) },
                { name = "Action: "..manapot,            use = (pctEB2 <= .40) },
                    }
                            
            --Combat
                if enemy then
                Skill2 = {
                    { name = "Cross Chop",                  use = true },
                    { name = "Blade of Protection",         use = true },
                    { name = "Charged Chop",                use = true },
                    { name = "Thorny Vines",                use = true },
                    { name = "Frantic Briar",               use = true },
                            }
                end            

But for some reason I do not understand, it will not cast recover or use any heal or mana pots and I am forced to manually throw them in. I keep getting lost going through these threads trying to make sense of how to edit things to my needs. I want to work my buffs in, try to get a pet skill to fire, and other things.... So far this piece of badness is working but I know it can do much more if I could only make sense of values, timers, and modes.... I would really like to understand target=boss so I can throw in something to use Thorn Sigil for when I loose aggro from a burst by DPS. I would think there would be something to put an argument in there that if target of target is not self, then Thorn Sigil.

Also I am going to have to study more on the buffs and even cleanses. I believe that would work, wouldn't it? Work a cleans as if it were a buff, that if say was in state of poison, then Antidote, if curse, then Remove Curse? Guess it would have to rely on a new table of poison debuffs and curse debuffs. So much to think about and so little understanding of code... Makes this real hard.

787

Monday, September 17th 2012, 9:44pm

Quoted from "Gilderoi;570052"

So with my limited sense of what means what, and the help of bilalab, I have put together :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--Class: Warden/Druid
            elseif mainClass == "WARDEN" and subClass == "DRUID" then
            
            --Potions and Buffs
            Skill = {
                { name = "Recover",                      use = (phealth <= .65) and (pctEB2 >= .05) and (not pbuffs['Recover']) },
                { name = "Action: "..healthpot,          use = (phealth <= .70) },
                { name = "Action: "..manapot,            use = (pctEB2 <= .40) },
                    }
                            
            --Combat
                if enemy then
                Skill2 = {
                    { name = "Cross Chop",                  use = true },
                    { name = "Blade of Protection",         use = true },
                    { name = "Charged Chop",                use = true },
                    { name = "Thorny Vines",                use = true },
                    { name = "Frantic Briar",               use = true },
                            }
                end            

But for some reason I do not understand, it will not cast recover or use any heal or mana pots and I am forced to manually throw them in. I keep getting lost going through these threads trying to make sense of how to edit things to my needs. I want to work my buffs in, try to get a pet skill to fire, and other things.... So far this piece of badness is working but I know it can do much more if I could only make sense of values, timers, and modes.... I would really like to understand target=boss so I can throw in something to use Thorn Sigil for when I loose aggro from a burst by DPS. I would think there would be something to put an argument in there that if target of target is not self, then Thorn Sigil.

Also I am going to have to study more on the buffs and even cleanses. I believe that would work, wouldn't it? Work a cleans as if it were a buff, that if say was in state of poison, then Antidote, if curse, then Remove Curse? Guess it would have to rely on a new table of poison debuffs and curse debuffs. So much to think about and so little understanding of code... Makes this real hard.


You need to utilize your locals in order to get what you want working. For example, Thorn sigil (I'm not an expert nor do I play warden, so take this function with a grain of salt) you want target=boss, and you to not be the bosses' target. That would look something like this:

Source code

1
 { name = "Thorny Sigil",                use = ((true) and (boss) and (behind)) },
Notice you are telling diyce to use Thorn Sigil if it is up, if target is a boss, and "behind" (which simply means you are not your target's target.)

Since pulling back aggro is kinda a big deal in boss fights, this would be put at the top of the priority list (I'm assuming this is a taunt skill)

As for the "buffs" skill list, those only cast when you do not have an enemy target iirc, so you'd either have to manual those, or make it so you tell diyce to only cast the skills if under a certain % health (local for that is found in this thread) and if regen from recover isn't already on you (assuming this is what you want, also found in this thread).

Ravesden, D/S/Wd 80/75/62
Retired. Click siggy for old RoM vids, among other things.

788

Monday, September 17th 2012, 11:34pm

So how about this so far?

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
--Class: Warden/Druid
            elseif mainClass == "WARDEN" and subClass == "DRUID" then
            
            --Potions and Buffs
            Skill = {
                { name = "Recover",                      use = (phealth <= .60) and (pctEB1 >= .05) },
                { name = "Action: 12",                   use = (phealth <= .70) and (not pbuffs['Mysterious Herb']) },
                { name = "Action: 32",                   use = (pctEB1 <= .70) and (not pbuffs['Mysterious Magic Stone']) },
                { name = "Action: 34",                   use = (pctEB1 <= .50) },
                { name = "Savage Blessing",              use = (pctEB1 >= .05) and (not pbuffs['Savage Blessing']) },
                { name = "Briar Shield",                 use = (pctEB1 >= .05) and (not pbuffs['Briar Shield']) },
                { name = "Earth Spirit Essence",         use = (pctEB1 >= .05) and (not pbuffs['Earth Spirit Essence']) },
                { name = "Heart of the Oak",             use = (pctEB1 >= .10) },
                { name = "Protection of Nature",         use = (pctEB1 >= .05) and (not pbuffs['Protection of Nature']) },
                { name = "Action: 16",                   use = (not pbuffs['Spicy Meatsauce Burrito']) },
                    }
                            
            --Combat
                if enemy then
                Skill2 = {
                    { name = "Cross Chop",                  use = (pctEB1 >= .05) },
                    { name = "Thorn Sigil",                 use = (pctEB1 >= .05) and boss or elite and behind and party },
                    { name = "Blade of Protection",         use = (pctEB1 >= .05) },
                    { name = "Charged Chop",                use = (pctEB1 >= .05) },
                    { name = "Elven Guidance",              use = (pctEB1 <= .60) and (pctEB1 >= .05) },
                    { name = "Savage Power",                use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Energy Absorb']) and (not pbuffs['Power of the Oak']) and (not pbuffs['Connection']) },
                    { name = "Energy Absorb",               use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Savage Power']) and (not pbuffs['Power of the Oak']) and (not pbuffs['Connection']) },
                    { name = "Power of the Oak",            use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Savage Power']) and (not pbuffs['Energy Absorb']) and (not pbuffs['Connection']) },
                    { name = "Elven Prayer",                use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Savage Power']) and (not pbuffs['Energy Absorb']) and (not pbuffs['Power of the Oak']) },
                    { name = "Elven Amulet",                use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Mother Earth's Protection']) },
                    { name = "Mother Earth's Protection",   use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Elven Amulet']) },
                    { name = "Explosion of Power",          use = (pctEB1 >= .10) and boss or elite },
                    { name = "Thorny Vines",                use = (pctEB1 >= .05) },
                    { name = "Frantic Briar",               use = (pctEB1 >= .05) },
                            }
                end


Got everything I wanted now. Well except I still am not sure, and can't locate if anyone else has, find a way to work in a pet skill. As Magic Control is not on my pet bar but when I click it from the spell book, it seems like it should still be useable. So can anyone tell me if there is a code to include a pet skill in the kill sequence?

789

Friday, September 21st 2012, 11:44am

I can't test this because I have to get to work, and I have no idea what the 6 means. Anyone have any idea if this will work?

Source code

1
{ name = "Pet Skill: 6 (Magic Control)",              use= true },


Nope, doesn't work. I am taking into count that the 6 must be pet action bar slot # so since Magic Control is broken and is no longer in it's slot, then it just can't work.

790

Tuesday, September 25th 2012, 2:11am

im a p/k and have been using diyce since about last year.. priest is my main its diyce is fine, but i noticed on my knight i keep getting "cannot activate passive skills" since a couple patches ago, im trying to track down so i can remove it, but i cant figure it out... hopefully someone can help

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
function KnightPriest(arg1,arg2)
   local Skill = {}
   local i = 0
   local tgt = "player"
   local rage = UnitSkill("player")
   local friendly = (not UnitCanAttack("player","target"))
   local shield = true
   local health = PctH("player")
   local tgtcast = UnitCastingTime("target")
   local tDead = UnitIsDeadOrGhost()
   local thealth = PctH("target")

   if GetEquipSlotInfo(17) == nil then
      shield = false
   end

   local pbuffs = BuffList("player")
   local tbuffs = BuffList("target")

-- Buffs
   i=i+1; Skill[i] = { ['name'] = "Holy Seal",            ['use'] = (not string.find(pbuffs,"Holy Seal")) }
   i=i+1; Skill[i] = { ['name'] = "Enhanced Armor",       ['use'] = (not string.find(pbuffs,"Enhanced Armor")) }
   i=i+1; Skill[i] = { ['name'] = "Magic Barrier",        ['use'] = (not string.find(pbuffs,"Magic Barrier")) }
-- i=i+1; Skill[i] = { ['name'] = "Blessed Spring Water", ['use'] = (not combat and not string.find(pbuffs,"Blessed Spring Water")) }

-- Heals
   i=i+1; Skill[i] = { ['name'] = "Action: 22",           ['use'] = (PctM("player") <= .25) }
   i=i+1; Skill[i] = { ['name'] = "Holy Shield",      ['use'] = (health <= .45) }
   i=i+1; Skill[i] = { ['name'] = "Holy Aura",          ['use'] = (health <= .40) }
   i=i+1; Skill[i] = { ['name'] = "Resolution",           ['use'] = (health <= .30) }
   i=i+1; Skill[i] = { ['name'] = "Action: 21",           ['use'] = (PctH("player") <= .50) }
   i=i+1; Skill[i] = { ['name'] = "Urgent Heal",          ['use'] = (health <= .80) }
   i=i+1; Skill[i] = { ['name'] = "Regenerate",           ['use'] = ((health <= .90) and (not string.find(pbuffs,"Regenerate"))) }

-- Shield Attacks
   i=i+1; Skill[i] = { ['name'] = "Shield of Valor",      ['use'] = ((not friendly) and (health <= .50) and shield) }
-- i=i+1; Skill[i] = { ['name'] = "Shield of Discipline", ['use'] = ((not friendly) and (tgtcast ~= nil) and shield) }
   i=i+1; Skill[i] = { ['name'] = "Shield of Atonement",  ['use'] = ((not friendly) and (tgtcast ~= nil) and shield) }

-- Attacks
   i=i+1; Skill[i] = { ['name'] = "Charge",          ['use'] = ((not friendly) and (not string.find(tbuffs,"Charge"))) }
   i=i+1; Skill[i] = { ['name'] = "Mana Return",          ['use'] = (PctM("player") <= .70) } --(string.find(tbuffs,"Holy Seal 3")) }
   i=i+1; Skill[i] = { ['name'] = "Holy Light's Fury",      ['use'] = (not string.find(tbuffs,"Holy Light's Fury")) }
   i=i+1; Skill[i] = { ['name'] = "Holy Smite",          ['use'] = (PctH("target") > 0) }
   i=i+1; Skill[i] = { ['name'] = "Punishment",           ['use'] = (string.find(tbuffs,"Light Seal III")) }
   i=i+1; Skill[i] = { ['name'] = "Shield of Atonement",  ['use'] = (not friendly and shield and (not string.find(pbuffs,"Restrained"))) }
   i=i+1; Skill[i] = { ['name'] = "Disarmament",          ['use'] = (not string.find(tbuffs,"Disarmament III")) }
   i=i+1; Skill[i] = { ['name'] = "Holy Strike",          ['use'] = (not friendly) }
   i=i+1; Skill[i] = { ['name'] = "Threaten",             ['use'] = (string.find(tbuffs,"Holy Seals 3") and (not string.find(pbuffs,"Threaten"))) }
   i=i+1; Skill[i] = { ['name'] = "Whirlwind Shield",     ['use'] = ((not friendly) and shield) }

--Loot or interact with NPC
   i=i+1; Skill[i] = { ['name'] = "Attack",          ['use'] = (tDead or (not combat and not enemy)) }

   MyCombat(Skill,arg1)
end
98/98/61 osha p/k/r
overheard in guildchat: "Its RoM if you're not lagging, you've crashed" "from your lips to frog's ears"

791

Tuesday, September 25th 2012, 5:31am

Wasn't there a knight skill that got turned into a passive? Some kind of seal or something? (idk, dont play knight)

Just taking that out would solve the prob

Ravesden, D/S/Wd 80/75/62
Retired. Click siggy for old RoM vids, among other things.

Galenwaithien

Intermediate

Posts: 294

Location: Italy

  • Send private message

792

Wednesday, September 26th 2012, 12:20am

Can anyone please share how to integrate equipment swap inside DIYCE?
I'd like to swap to knives to fire Throw/Combo Throw, and swap back to arrows, for shot on R/S....
I thought of making it use a macro on an action bar slot, but it wouldn't be able to check the cd on throw/combo throw/shot that way...

793

Friday, September 28th 2012, 7:18pm

Wondering: How does diyce work with skills that have no GCD like throw and charged chop...because sometimes it feels like there is way too big of a wait between when charged chop goes off and the next skill goes off. Sometimes it doesnt even cast the next skill, it just keeps spaming charged chop. Should i have two seperate diyces and macro them together, one for the skills w/o gcd, and one for the ones with them?

hangman04

Savage Warrior

Posts: 113

Location: Romania

Mood: Smile

  • Send private message

794

Saturday, September 29th 2012, 2:20pm

Well regarding no CD skills the only solution imo is to alter the code for GD check, practically we can make a list of skills similar to the Sillence list and make the cd check function smart enough not to trigger internal CD (the = 1) whenever a skill from the list is use.

795

Saturday, September 29th 2012, 2:43pm

Quoted from "thebadtouch09;571776"

Wondering: How does diyce work with skills that have no GCD like throw and charged chop...because sometimes it feels like there is way too big of a wait between when charged chop goes off and the next skill goes off. Sometimes it doesnt even cast the next skill, it just keeps spaming charged chop. Should i have two seperate diyces and macro them together, one for the skills w/o gcd, and one for the ones with them?


I have no issue with that. Most of the time it works just fine for both my modes, the one using Charged Chop for single pulls and the one using Power of the Wood Spirit for multiple pulls. Only rarely do I find that it just ends up spaming one of those moves and that I have chalked up to lag because it only spams when I am in the new zone.

796

Monday, October 1st 2012, 2:51am

Am trying to use a new DIYCE for my wrdn/r alt so wanted to work in Tranquil Wave into the buffs, but for some reason it will not cast this ability. Maybe DIYCE doesn't work with ISS?

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
--Class: Warden/Rogue
            elseif mainClass == "WARDEN" and subClass == "THIEF" then
            
            --Potions and Buffs
            Skill = {
                { name = "Action: 13",                   use = (phealth <= .70) and (not pbuffs['Spirit Herb']) },
                { name = "Action: 14",                   use = (phealth <= .65) },
                { name = "Action: 15",                   use = (phealth <= .60) },
                { name = "Action: 33",                   use = (pctEB1 <= .70) and (not pbuffs['Elemental Spirit Stone']) },
                { name = "Action: 35",                   use = (pctEB1 <= .50) },
                { name = "Briar Shield",                 use = (pctEB1 >= .05) and (not pbuffs['Briar Shield']) },
                --{ name = "Tranquil Wave",                use = (pctEB1 >= .05) and (not pbuffs['Tranquil Wave']) },
                { name = "Heart of the Oak",             use = (pctEB1 >= .10) },
                { name = "Protection of Nature",         use = (pctEB1 >= .05) and (not pbuffs['Protection of Nature']) },
                { name = "Action: 16",                   use = (not pbuffs['Caviar Sandwich']) },
                    }
                            
            --Combat
                if enemy and (mode == "DPS") then
                Skill2 = {
                    { name = "Elven Guidance",              use = (pctEB1 <= .60) and (pctEB1 >= .05) },
                    { name = "Energy Absorb",               use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Savage Power']) and (not pbuffs['Power of the Oak']) },
                    { name = "Savage Power",                use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Power of the Oak']) and (not pbuffs['Energy Absorb']) },
                    { name = "Power of the Oak",            use = (pctEB1 >= .10) and boss or elite and (not pbuffs['Savage Power']) and (not pbuffs['Energy Absorb']) },
                    { name = "Elven Amulet",                use = (pctEB1 >= .10) and boss or elite },
                    { name = "Explosion of Power",          use = (pctEB1 >= .10) and boss or elite },
                    { name = "Cross Chop",                  use = (pctEB1 >= .05) },
                    { name = "Power of the Wood Spirit",    use = (pctEB1 >= .05) and (thealth <= .30) },
                    { name = "Charged Chop",                use = (pctEB1 >= .05) },
                    { name = "Together",                    use = (EnergyBar2 >= 50) and boss or elite },
                    { name = "Pet Skill: 6 (Magic Interference)",       use = true },
                    { name = "Gravel Attack",               use = (EnergyBar2 >= 30) },
                    { name = "Thorny Vines",                use = (pctEB1 >= .05) },
                    { name = "Achilles' Heel Strike",       use = (EnergyBar2 >= 30) },
                    { name = "Throw",                       use = true },
                    { name = "Frantic Briar",               use = (pctEB1 >= .05) },
                            }            
                end

I know there is a -- to keep it from being read. Just added that to run the code and not get buged with all the skill not available spam. But since Tranquil Wave is an ISS, maybe DIYCE just doesn't know how to use it.

Shoot, the pet skill doesn't work either. Its in the pet action bar number 6 slot so should have worked, but getting skill is unavailable.

797

Tuesday, October 9th 2012, 7:31am

Trouble with Sneak Attack

Is anyone else having issues with DIYCE and Sneak Attack? I followed the example given by the warrior/mage that was already in the lau. If Sneak Attack is the first attack used, everything is fine. If something is already attacking me, it wont let me attack back because it constantly wants to use Sneak Attack. This also happens if a health pot or mana pot is used during the fight. It just wants to go directly to Sneak Attack and nothing else.

Also has anyone found a way to add Feint to the combat list? The skill only works after a dodge so I would have thought it would not read as true until a dodge was executed but instead it would just sit there trying to cast Feint so I would get nothing but "Must dodge first before using this ability"

798

Wednesday, October 10th 2012, 9:15am

Quoted from "Gilderoi;573166"

Is anyone else having issues with DIYCE and Sneak Attack? I followed the example given by the warrior/mage that was already in the lau. If Sneak Attack is the first attack used, everything is fine. If something is already attacking me, it wont let me attack back because it constantly wants to use Sneak Attack. This also happens if a health pot or mana pot is used during the fight. It just wants to go directly to Sneak Attack and nothing else.

Also has anyone found a way to add Feint to the combat list? The skill only works after a dodge so I would have thought it would not read as true until a dodge was executed but instead it would just sit there trying to cast Feint so I would get nothing but "Must dodge first before using this ability"

For Sneak Attack, try:

Source code

1
{ name = "Sneak Attack",                      use = ((EnergyBar1 >= 30) and (not combat) and (behind)) },


Idk bout warrior's Feint tho. Thought there was an addon around for that, not sure, but it was old. Like ch2/3 old.

Ravesden, D/S/Wd 80/75/62
Retired. Click siggy for old RoM vids, among other things.

799

Wednesday, October 10th 2012, 11:28am

Quoted from "Ravesden;573376"

For Sneak Attack, try:

Source code

1
{ name = "Sneak Attack",                      use = ((EnergyBar1 >= 30) and (not combat) and (behind)) },


Idk bout warrior's Feint tho. Thought there was an addon around for that, not sure, but it was old. Like ch2/3 old.


Not sure if that will work. Something about Sneak Attack doesn't work like a normal skill. Say if you make a macro /cast Sneak Attack, it will not do anything at all. Hence why there had to be a piece of code to activate it.

Source code

1
2
3
4
5
6
7
8
9
 -- Class: Warrior/Mage
            if mainClass == "WARRIOR" and subClass == "MAGE" then
                local SurpriseAttack = GetActionUsable(14)
    
            
            --Combat
                if enemy then
                Skill2 = {
                    { name = "Surprise Attack",            use = SurpriseAttack },


Not sure what any of that meant, the GetActionUsable(14)........

800

Wednesday, October 10th 2012, 12:09pm

The w/m "Surprise Attack" skill and a rogue's "Sneak attack" skill are 2 completely different skills. Surprise attack charges at the enemy, and is a warrior-only skill. Sneak attack hits the enemy from behind and causes a stun+bleed effect.

Assuming you're making a diyce for a rogue:

With the exception of rogue/priest, no rogues can use "Sneak Attack" if they are in combat. Sneak Attack has to be hit from behind. Reason why you can use Sneak Attack first, is because you are not yet in combat while using it. Once an enemy is already hitting you or you've drawn aggro somehow, you are in combat, making you unable to use Sneak Attack until you leave combat again.

Try that diyce for Sneak Attack. It will work.
---------------------------
If, for some reason, you're mixing up Surprise Attack and Sneak Attack, the above won't work. Sneak Attack is a rogue skill. Surprise Attack is a warrior skill. Surprise Attack can only be used if you are far away enough from your enemy, as for making this work via diyce, I can't really help you, other than maybe look at the melee checks in diyce and work it from there. I'm guessing that GetActionUsable(14) is that person's melee check.

Ravesden, D/S/Wd 80/75/62
Retired. Click siggy for old RoM vids, among other things.