is player.holypower a valid condition? can't find it in the list.
e.g.
wont work for me.Code:{ "Holy Avenger", { "player.holypower < 3", "!talent(7, 2)", "modifier.cooldowns" } },
is player.holypower a valid condition? can't find it in the list.
e.g.
wont work for me.Code:{ "Holy Avenger", { "player.holypower < 3", "!talent(7, 2)", "modifier.cooldowns" } },
Last edited by akeon1; 01-31-2015 at 05:26 AM.
Gotcha. As long as there isn't a "target" given it defaults to "target" then correct? So the last parameter in a given rotation line does not need to have a comma if there is no other parameter listed.
thanks for the help, seems to work fine.
Is there a condition to check the targets current health in numbers, and not percent? I have been working on a script, however, cannot seem to find this condition anywhere.
I have a similar question.
Is the following still true and reliable to check a targets time to die?
Code:{ "target.ttd < 40" }},
It works but it only works well on high health targets as the math involved takes time to work correctly. So using that kind of code on bosses or high health adds is fine. Using that code on trivial stuff is very inaccurate. For low health stuff use health checks instead.
"Shootings easy, Aimings hard!" Stinky
what's the correct syntax to count the units around me when I unlock with oLUA?
UnitsAroundUnit() doesn't seem to work, neither is area.enemies
The rush of battle is often a potent and lethal addiction, for war is a drug
Around you? "player.area(Y).enemies > X"
Y is the radius to cover around you. So maybe 40 if have abilities that are long distance spells? X is just simply the number of enemies to check against.
Oh saw that you were using oLUA. I don't think it has the ability to do area.enemies. Offspring does though.
"Shootings easy, Aimings hard!" Stinky
ah okay, so I got my syntax completely wrong. Thank you very much (also thanks for the help in the other thread).
Offspring is for x86 only to my knowledge and I'd hate using that again after experiencing the goodness of DX11 & x64 ^^
I guess I have to do multitarget manual then.
Again, thank you.
The rush of battle is often a potent and lethal addiction, for war is a drug