You are not logged in.

Champion/Rogue ch/r macro

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.

ancientgear

Intermediate

  • "ancientgear" started this thread

Posts: 267

Location: England

Mood: Love

  • Send private message

1

Monday, November 23rd 2015, 11:02pm

ch/r macro

Does anyone happen to have a macro that's as efficient and fast as diyce but only spams shadow stab if chain drive is not active and uses rune pulse if chain drive is active. Because my diyce right now is written so it spams all the usual aggro skills like shock strike, agitated whirlpool etc but there are sometimes when I don't need to use these skills to hold aggro on bosses ie if its a long fight and I've built up enough aggro and want to conserver rage by just spamming shadow stab and rune pulse. Found it to be little inefficient if I do it by hand.



thanks :phatgrin:
-Failed attempt of trying to put a picture in here cause I don't know how to-

ROM's one and only pure stam/pdef stated tank

REACHED 13.57M PDEF ON 29/09/2016, NO SIGIL, HAIDON, ZODIAC OR RELATIONSHIP BUFF.

Retired until mages are buffed or melee's are nerfed

2

Monday, November 23rd 2015, 11:21pm

Can this not simply be a different diyce mode?

/run KillSequence("","sustain")

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
if enemy then
  if (mode == "sustain") then
    name = rune pulse, use = chain drive
    name = throw, use = true
    name = shadowstab, use = energy>=20
    name = rune pulse, use = true
  elseif (mode == "aggro") then
    shockstrike
    etc
  else
    dps skill
    etc
  end
end


Like any function in an addon, you can call it in a macro too. Although these can get very long very quickly, hence the diyce mode suggestion above. For example:

Source code

1
/run local myEnergy = GetUnitSkill("player") if FindBuffList("player","Chain Drive") then CastSpellByName("Rune Pulse") elseif myEnergy >= 20 then CastSpellByName("Shadowstab") else CastSpellByName("Throw") end

ancientgear

Intermediate

  • "ancientgear" started this thread

Posts: 267

Location: England

Mood: Love

  • Send private message

3

Monday, November 23rd 2015, 11:45pm

ehh not really sure how to incorporate that into my current diyce, my lua knowledge isn't that In depth I'm afraid. :phatgrin:
-Failed attempt of trying to put a picture in here cause I don't know how to-

ROM's one and only pure stam/pdef stated tank

REACHED 13.57M PDEF ON 29/09/2016, NO SIGIL, HAIDON, ZODIAC OR RELATIONSHIP BUFF.

Retired until mages are buffed or melee's are nerfed

4

Tuesday, November 24th 2015, 7:44am

So you've never used an if statement before? (Question feels condescending, but just trying to gauge what you know.)

The customfunctions.lua that comes with diyce has some examples, such as for wl/m.

ancientgear

Intermediate

  • "ancientgear" started this thread

Posts: 267

Location: England

Mood: Love

  • Send private message

5

Tuesday, November 24th 2015, 11:34am

Got it to work, thanks. I don't really write new stuff, I kind of just fiddle around with the things that's already there. Didn't know that the wl/m section had the code I needed.
-Failed attempt of trying to put a picture in here cause I don't know how to-

ROM's one and only pure stam/pdef stated tank

REACHED 13.57M PDEF ON 29/09/2016, NO SIGIL, HAIDON, ZODIAC OR RELATIONSHIP BUFF.

Retired until mages are buffed or melee's are nerfed