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: 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.
anyone know why this plugin never uses my Ruthless Gladiator's Medallion of Cruelty? I've look over the .cs file and I don't see any glaring problems but it never uses the trinket. Singular on the other hand uses it flawlessly.
Okay ive been trying to work this issue. What I have noticed is that the plugin works when used with "Medallion of the Horde" and only with that trinket. That is a level 264 item. As soon as you upgrade it the word "the" is removed from the name, however when I try to edit the plugin, removing the word "the" and adding the word "medallion" so that it reads (" Medallion of ") instead of (" of the ") it does not work. at this point I am equipping the lower level trinket so that I can BG with the bot but I would really love to see someone fix this, I am sure it is a simple fix for someone who knows what they are doing.
If people would read the entire thread....theyd know it has been updated and is working.... http://dl.dropbox.com/u/120650/HB/TrinketRacial-1006.cs
Sorry to seem like a complete programming noob here (I am), but I would like to modify this similarly to above where it used the Emblem of Tenacity, but instead to use my Badge of Conquest when the target gets to say, 45% or below. What would be the string for that? I know how to modify the Trinket contains "___" field in addition to what would print in the HB box, but I am having some trouble with the: if (StyxWoW.Me.HealthPercent < 15 I tried changing it to if (StyxWoW.TARGET.HealthPercent < 45 (I know that TARGET is not a valid use) (the changed part in caps) but I do not think this is the correct use as the plugin disappears from being available when honorbuddy is loaded. Any help would receive much love and respect. Edit 1: Cross posted in development forum and I will update if I find anything out.