Can you Add the option to cast the PVP trinket Cataclysmic/Ruthless Gladiator's Emblem of Tenacity when life is < 15% for example? I will try to change the Gift of the Naruu code and replace it with this trinket but i don't know nothing of programing, i will just use my intuition.
EDIT:
I added the following code:
Lets test it and see if it works
EDIT2: It worked!
I use this trinket as a healer and it helps a lot, if anyone wants it i will post it here:
EDIT3: The pvp trinket to remove impairing effects isn't working or is just here? I think that the condition StyxWoW.Me.Inventory.Equipped.Trinket2.Name.Contains(" of the ") is wrong because of the " OF THE ". All trinkets have "Medallion of", like "Ruthless Gladiator's Medallion of Tenacity/Cruelty/etc..."
I will change that too and see if it works.
EDIT4: Tweaked the life to use the Emblem of Tenacity to 22%. 15% was to low and some pp can 1 shot you from 20 to 0. I fixed the OF THE from the original trinket usage to "Medallion of" and now it is working for me. Since all pvp trinkets have "Medallion of" i think this change will make it work with any trinket Season you have.
EDIT:
I added the following code:
Code:
if (StyxWoW.Me.HealthPercent < 15 && StyxWoW.Me.Inventory.Equipped.Trinket1 != null && StyxWoW.Me.Inventory.Equipped.Trinket1.Name.Contains(" Emblem of Tenacity") && StyxWoW.Me.Inventory.Equipped.Trinket1.Cooldown <= 0)
{
Logging.Write("Health < 15% - " + " - " + StyxWoW.Me.Inventory.Equipped.Trinket1.Name);
StyxWoW.Me.Inventory.Equipped.Trinket1.Use();
return;
}
if (StyxWoW.Me.HealthPercent < 15 && StyxWoW.Me.Inventory.Equipped.Trinket2 != null && StyxWoW.Me.Inventory.Equipped.Trinket2.Name.Contains(" Emblem of Tenacity") && StyxWoW.Me.Inventory.Equipped.Trinket2.Cooldown <= 0)
{
Logging.Write("Health < 15% - " + " - " + StyxWoW.Me.Inventory.Equipped.Trinket2.Name);
StyxWoW.Me.Inventory.Equipped.Trinket2.Use();
return;
}
Lets test it and see if it works
EDIT2: It worked!
I use this trinket as a healer and it helps a lot, if anyone wants it i will post it here:
EDIT3: The pvp trinket to remove impairing effects isn't working or is just here? I think that the condition StyxWoW.Me.Inventory.Equipped.Trinket2.Name.Contains(" of the ") is wrong because of the " OF THE ". All trinkets have "Medallion of", like "Ruthless Gladiator's Medallion of Tenacity/Cruelty/etc..."
I will change that too and see if it works.
EDIT4: Tweaked the life to use the Emblem of Tenacity to 22%. 15% was to low and some pp can 1 shot you from 20 to 0. I fixed the OF THE from the original trinket usage to "Medallion of" and now it is working for me. Since all pvp trinkets have "Medallion of" i think this change will make it work with any trinket Season you have.
Attachments
Last edited:






