DennisWG / Roid-Macros

Vanilla macros on steroids!
MIT License
58 stars 20 forks source link

Further help / contact w/ shield swap conditional + more #44

Open lvangh opened 5 years ago

lvangh commented 5 years ago

Hello,

Edit- I've made about a zillion revisions to this as I've gone along and tested things, and possibly worked my way through my own bugs for the shield slam question so please don't mind the confusion

I was wondering if there's any further documentation or examples out there so I can try to figure things out my own (or not open a ticket), but what I'm looking for in the linked documentation I can't seem to find.

I basically want to have a macro that only performs Shield Slam when I have a certain shield equipped. I may have made my won workaround to this, but there's a weird bug. The idea is that it swaps to my highest block value shield, then goes back to my AOE shield since this is generally more threat, EXCEPT when using shield slam.

I have a few weird quirks though that I'm trying to get around. When SS is on cooldown, the shields swap, so I'm being very careful about pressing the button when it's not ready. In some ways this is a good thing because I can swap back and forth. Fixed?

But what also happens is that the icon for the shield keeps popping up on the mouse cursor location - like I'm de-equipping the shield. I don't know why this is, but it could be because there are two of the same force reactive disks in my inventory. (If you want video evidence I can provide).

I've redacted some of this message but basically I got to this stage and it appears to be working OK. This is what I have now: /startattack /equipoh [equipped:Shields nocooldown:Shield_Slam(Rank 4) myrawpower>20] Drillborer Disk /cast Shield Slam(Rank 4) /equipoh [equipped:Shields cooldown:Shield_Slam(Rank 4)] Force Reactive Disk


Question #2 Also, I have a whirlwind macro that I only want to work when I have a certain range of rage so I don't burn a ton of rage if I have it. It also equips a weapon (slowest 1H)

Is this the way to do multiple conditions for the same check? This is not working, as one condition can outweigh the other, so how do I make this an AND check? [mypower>20 mypower<30] is that ok? e.g. if I have more than 20 rage but less than 30 do x? (or just simply between 20-30) [mypower>20 & mypower<30]

I tried [mypower>20/mypower<30] but that gives me a 'compare nil with number'

Here is what I have, but I can't get it to do an AND check for rage. /startattack /equip [equipped:Shields myrawpower>25] Deathbringer /cast [stance:1/2 myrawpower<45] Berserker Stance; Whirlwind /cast [stance:3] Defensive Stance