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.

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

1,941

Monday, December 10th 2012, 2:25pm

Add your thunder line right before the splitting chop line and add a check to see if Splitting Chop is on cooldown. Something like:

Source code

1
i=i+1; Skill[i] = { ['name'] = "Thunder",         ['use'] = ((not friendly) and (rage >= 10)) and not CD("Splitting Chop")) }


Note that the CD function returns true is the skill is not on cooldown, hence the not. Change the other conditions and the actual skill name as appropriate.
2013... The year from hell....

1,942

Monday, December 10th 2012, 3:14pm

Quoted from "Peryl;580382"

Add your thunder line right before the splitting chop line and add a check to see if Splitting Chop is on cooldown. Something like:

Source code

1
i=i+1; Skill[i] = { ['name'] = "Thunder",         ['use'] = ((not friendly) and (rage >= 10)) and not CD("Splitting Chop")) }


Note that the CD function returns true is the skill is not on cooldown, hence the not. Change the other conditions and the actual skill name as appropriate.


i still couldnt get it to work, ill have to mess with it some more later. but what im trying to do is get thunder to to go off while splitting chop is on cool down.

Adrianell

Beginner

Posts: 4

Location: Poland

Occupation: Student

  • Send private message

1,943

Tuesday, December 11th 2012, 12:54am

can someone plz post here working DIYCE for warden/warrior ?

HookerBoots

Beginner

Posts: 21

Location: California

Occupation: USMC

  • Send private message

1,944

Saturday, January 19th 2013, 4:20am

Hey so I use DIYCE 1.4 for my rogue and scout. I was wondering if anyone has an awesome DIYCE for Knight/Scout? Also would I have to change anything or could I just make another LUA file with the script and run it?

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

1,945

Saturday, January 19th 2013, 5:49am

Well I can't give you a DIYCE script for Knight/Scout, but to answer your other question, you can create a new function in CustomFunctions.lua and make it do the Knight/Scout thing.

You could also create another .lua file (with some other name) that would contain the function you want, but then you would also need to add this file to the .toc file so that it loads up with the add-on.
2013... The year from hell....

HookerBoots

Beginner

Posts: 21

Location: California

Occupation: USMC

  • Send private message

1,946

Sunday, January 20th 2013, 4:24am

Need help with this K/S 1.4 DIYCE

Hey here is the DIYCE 1.4 I am using for my K/S and it works great however I want to put in Disarm into it but have it like start after there is 3 holy strikes on the target and also rotate between holy strike and disarm. Does anyone know what I need to do to make it work? Also I couldn't get the Shield of Disapline to cast when target was casting. So I changed it to the health option. Thanks.

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
function KnightScout(arg1,arg2)
   local Skill = {}
   local i = 0
   local friendly = (not UnitCanAttack("player","target"))
   local shield = (GetEquipSlotInfo(17) ~= nil)
   local combat = GetPlayerCombatState()
   local health = PctH("player")
   local mana = PctM("player")
   local pbuffs = BuffList("player")
   local tbuffs = BuffList("target")
   
   i=i+1; Skill[i] = { ['name'] = "Holy Shield",          ['use'] = (health <= .20) }
   i=i+1; Skill[i] = { ['name'] = "Hall of Dead Heroes",  ['use'] = ((health <= .25) and (arg2 == "tank")) }
   i=i+1; Skill[i] = { ['name'] = "Resolution",           ['use'] = (health <= .30) }
   i=i+1; Skill[i] = { ['name'] = "Shield of Valor",      ['use'] = ((not friendly) and (health <= .35) and shield) }
   i=i+1; Skill[i] = { ['name'] = "Shield of Discipline", ['use'] = ((not friendly) and (health <= .45) and shield) }
   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'] = "Vampire Arrows",       ['use'] = (not friendly) }
   i=i+1; Skill[i] = { ['name'] = "Whirlwind Shield",     ['use'] = (shield and (not friendly) and (arg2 == "tank")) }
   i=i+1; Skill[i] = { ['name'] = "Threaten",             ['use'] = (string.find(tbuffs,"Holy Seals 3") and (not string.find(pbuffs,"Threaten")) and (arg2 == "tank")) }
   i=i+1; Skill[i] = { ['name'] = "Mana Return",          ['use'] = (string.find(tbuffs,"Holy Seals 3") and (mana <= .95)) }
   i=i+1; Skill[i] = { ['name'] = "Holy Strike",          ['use'] = (not friendly) }
   
   MyCombat(Skill,arg1)
end

1,947

Tuesday, March 26th 2013, 8:59am

Looking for DIYCE for a KNI/WAR, any help???? Thanks

1,948

Tuesday, March 26th 2013, 5:29pm

If you use the search option in this thread for knight/warrior I am sure you will find what you are looking for. I posted one up as ghostwolf a long, long time ago. However, I also recommend using DIYCE 2.
Formerly known as GhostWolf.
AddOn: Auto Ding
AddOn: DIY Combat Engine v2

1,949

Tuesday, March 26th 2013, 5:46pm

Has anyone created a Rougue/Mage DIYCE yet? I am curious on how to get started on creating one for myself.

1,950

Tuesday, March 26th 2013, 9:00pm

Looked, can't find anything for K/W bud. Still looking!!!!
Rockwells K/W/M Palenque

1,951

Wednesday, March 27th 2013, 2:22am

I would say go to page about 130 and work backwards from there. Or put up something you have worked on to show what you currently have, and we can help you tweak it.

Again, why are you not using DIYCE v2?
Formerly known as GhostWolf.
AddOn: Auto Ding
AddOn: DIY Combat Engine v2

1,952

Wednesday, March 27th 2013, 10:56pm

.
Rockwells K/W/M Palenque

1,953

Sunday, April 28th 2013, 12:06am

Hello, I am trying to make a warden item set skill "animal spirit eclipse" work in diyce but when i use the macro it says
skill not availiable: animal spirit eclipse....since this is an iss i was wondering if it worked differently...any help would be appreciated tyvm

ArkanaROM

Intermediate

Posts: 193

Location: Devon, UK

Occupation: Making games...

  • Send private message

1,954

Sunday, April 28th 2013, 2:07am

Quoted from "dreamweaver537;599409"

Hello, I am trying to make a warden item set skill "animal spirit eclipse" work in diyce but when i use the macro it says
skill not availiable: animal spirit eclipse....since this is an iss i was wondering if it worked differently...any help would be appreciated tyvm


You need to place the set skill on an Action Bar slot for DIYCE to be able to use it, would look something like:

Source code

1
i=i+1; Skill[i] = { ['name'] = "Action: #",   ['use'] = (not friendly) and (mana >=225) }


Where # = the Action Bar slot number. ActionBar1 = 1-20, ActionBar2 = 21-40 and so on, left to right.

Hope that helps...

1,955

Wednesday, July 24th 2013, 3:11pm

am a user of 1.4 diyce, not upgrading to 2+ yet. would like to know if there is a way to determine the stack-number of a buff/debuff via some already built function. for example druid's nature points counter or priest's heal exhaustion debuff lvl/stack etc
ty in advance

ArkanaROM

Intermediate

Posts: 193

Location: Devon, UK

Occupation: Making games...

  • Send private message

1,956

Wednesday, July 24th 2013, 5:33pm

Credit for this goes to Silandro and their original post can be found here.

Function to check Nature's Power -

Source code

1
2
3
4
5
6
7
8
9
10
11
12
function NaturesBuff()
    local cnt = 1
    local buff, icon, power = UnitBuffInfo("player",cnt)
    while buff ~= nil do
        if buff == "Nature's Power" then
            return power
        end
        cnt = cnt + 1
        buff, icon, power = UnitBuffInfo("player",cnt)
    end
    return 0
end


Defined and used -

Source code

1
2
local npower = NaturesBuff() -- in your local list
(npower <= 2) -- in your skill use parameters

1,957

Thursday, July 25th 2013, 5:25am

thank you very much. exactly what i needed for 1.4. saw ur response to 2.0 thread too. thanx again

1,958

Friday, October 4th 2013, 6:33pm

trouble with diyce 1.0

i have been a diyce user for some time now and love it and i am a bit old school i guess i like 1.0 better than 2.0 but that is just me but i have been having some trouble with 1.0 and have tried everything i can think of but i can not get Blind Spot or Sneak attack to work this is what i am wanting i want it to cast lets say Blind Spot if i am behind the target no matter the target as long as it a attactable target and if i am not behind the target at the time of attack it would cast something else and no stay on Blind Spot waiting for me to get behind the target i am out of ideas on this thank you for your time

1,959

Friday, October 4th 2013, 7:51pm

i have been a diyce user for some time now and love it and i am a bit old school i guess i like 1.0 better than 2.0 but that is just me but i have been having some trouble with 1.0 and have tried everything i can think of but i can not get Blind Spot or Sneak attack to work this is what i am wanting i want it to cast lets say Blind Spot if i am behind the target no matter the target as long as it a attactable target and if i am not behind the target at the time of attack it would cast something else and no stay on Blind Spot waiting for me to get behind the target i am out of ideas on this thank you for your time

This is not possible without something extra because there is no way to determine whether you are actually behind a target or not. There is no function to figure out which way the target is facing, and whether you are behind it. While the game is able to do this, there's no accessible function for users to figure this out.

You have one of two options -- make two functions and use one for when you are in front, and a second when you are physically behind. The second option is use IsShiftKeyDown() in your blind spot conditions, such that you hold shift while physically behind the target or something to that effect.

1,960

Tuesday, October 8th 2013, 7:22pm

new old diyce question

is there any way in old diyce that is to make a skill only work if another skill goes off first but the skill that goes off first has no buffs to it at all the only way i know how to do this is if there is a buff of some kind