ascott18 / TellMeWhen

TellMeWhen is a combat tracking AddOn for World of Warcraft Retail and Classic
https://wow.curseforge.com/projects/tellmewhen
GNU General Public License v3.0
80 stars 11 forks source link

new condition for mana control #2147

Open dihhrox opened 4 months ago

dihhrox commented 4 months ago

for the wow classic version, several classes need to perform some type of mana control, in relation to "less mana efficient skills" such as the hunter's arcane shot or the paladin's consecration.

To help with this issue I thought of a simple condition.

When my mana % is greater than the hp % of my target, it means that I have more mana available and therefore I can use less mana efficient skills to get some dps boost

For this I thought of the following condition that I implement via lua code return UnitPower("player") / UnitPowerMax("player") > UnitHealth("target") / UnitHealthMax("target")

I believe it could be interesting to add this condition as an option, or perhaps open up a whole new range of possibilities by being able to compare different conditions.

I know that this condition can be easily done via lua code, but for me, as a layman, it took me almost 4 hours with the help of GPT chat (yes, it knows how to develop lua code for wow, including tellmewhen) to be able to accomplish this condition. =P

Anyway, here's my suggestion

image