Anyone know how to do a check for your current target's target? I want to check if my target is me and if so and it's casting an interruptable spell, to use spell reflect.
Anyone know how to do a check for your current target's target? I want to check if my target is me and if so and it's casting an interruptable spell, to use spell reflect.
Can be put into a function.Code:UnitName("targettarget")
:3
ProbablyEngine - Developer and Lead Support
A Powerful Rotation Bot: ProbablyEngine
Think there is a problem with "palyer.infront"
I'm trying to cast shockwave only if i'm facing the rarget but it don't work as i think it must
eg. { "Shockwave", {"player.infront"}, },
is it correct ?
Can someone add more description to the conditions in the list? I think it can be usefull for people at the beginning like me.
Thanks =)
++ i have firehack
Last edited by zeldaboch; 12-02-2014 at 12:08 AM.
*.infront is an error check conditional, not a calculation. This was built way back as a check for rogues/druids with gouge/shred/ravage.
Firehack's API dosen't provide a facing track either, and WoW dosen't supply a unit's pos; that would require a unitManager, which we lack. If we can get a unit's position, we can easily create this system.
I would suggest making that into a macro check, or supplementing in a method to create a successful environment for it to work in; such as immediately after a successful cast.
One thing I did for monks was cast ox-wave after a root applied, so I knew it would land. I'm sorry, but for the time being the infrastructure to do a perfect check dosen't exist.
Last edited by ImogenOC; 12-02-2014 at 03:01 AM.
ProbablyEngine - Developer and Lead Support
A Powerful Rotation Bot: ProbablyEngine
raid.health? what is this function and how does it work. is a global average of entire raid oor does it scan each raid member.
trying to work out how to cast Lay on Hands on a raid member when a raid member hits 10% HP.
the old way of doing it does not seem to work.
Sounds like you want ProbablyEngine.raid.lowestHP() in general. This is aliased with the "lowest" string for targeting, but not registered as a direct condition that I could find.
Last edited by Greymalkin; 12-03-2014 at 09:41 PM.
Targettarget works with PE parsing. E.g.
Frostbolt, target.buff(mark of the wild), targettarget
Which would translate to yourself most of the time.
ProbablyEngine - Developer and Lead Support
A Powerful Rotation Bot: ProbablyEngine
I think target.player might work.
ProbablyEngine - Developer and Lead Support
A Powerful Rotation Bot: ProbablyEngine
It doesn't seem to work like that for me. My rotation won't display with
but will display withCode:{ "Blood Boil", { "player.area(15).enemies > 1", "modifier.multitarget" }},
Edit: apparently the value can't be 1, as => 2 worksCode:{ "Blood Boil", { "target.area(15).enemies > 1", "modifier.multitarget" }},
Last edited by turtlemans; 12-09-2014 at 04:25 AM.
how does the "tank" target work? especially in raid when there are two tanks (usually)?