Jump to content

Target Mana Percentage condition


Sjd6795

Recommended Posts

Can we please get "Target Mana Percentage" condition added to the fight class creator? Also "Hostile Unit Near Target" can this function the same way as "Target" conditions when you have "For friends (party)" set to true.

Link to comment
Share on other sites

return (UnitMana('target') / UnitManaMax('target')) < 0.5;

There you go, Lua condition to only return true if enemy mana is < 50%.

For a C# condition, It's

ObjectManager.Target.ManaPercentage

as per https://wrobot.eu/byme/doc/html/P-wManager.Wow.ObjectManager.WoWUnit.ManaPercentage.htm

Edited by Matenia
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...