Converting old Dogtags in Pitbull 4 to LuaTexts
Hi all,
I had a couple of old Dogtags that worked fine back in the day, but are no longer supported in Pitbull 4 They are very simple at their core, I just want a coloured letter representing what HOTs I have on the target And another to show a red letter when there is no MoTW/GoTW and a yellow letter when it's got less than 5mins MoTW Dogtags used to look like this: if((HasAura("Mark of the Wild") and (AuraDuration("Mark of the Wild) < 300)) or (HasAura("Gift of the Wild") and (AuraDuration("Gift of the Wild) < 300))) then "M":Yellow elseif(HasAura("Mark of the Wild") or HasAura("Gift of the Wild")) then "M":Green else "M":Red end The other one I seem to have misplaced but basically the same as above with L1/L2/L3 representing Lifebloom, R for rejuvenation, and RG for Regrowth I've had a go at creating it (based on a few working examples of similar but not quite the same things): Code:
local l = "" |
All times are GMT -6. The time now is 09:22 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI