is it supposed to spam the crap out of my honorbuddy chat? It uses the thing correctly, but keeps trying to use it even when its on cool down....like every half sec.
yeah awesome plugin. great job! but is it possible to add a function that will use the engineering gloves on cooldown(Synapse Springs)? i would do it by myself but i'm not in java :/
This plugin uses your onUse trinkets on cooldown. If the target has more than 40% health it will use the trinket if ready.
if (StyxWoW.Me.GotTarget)
{
if (StyxWoW.Me.CurrentTarget.IsFriendly == false)
{
if (StyxWoW.Me.CurrentTarget.HealthPercent > 40)
{
if (StyxWoW.Me.Inventory.Equipped.Trinket1 != null [B][COLOR="#FF0000"]&& !StyxWoW.Me.Inventory.Equipped.Trinket1.Name.Contains(" Medallion of ")[/COLOR][/B] && StyxWoW.Me.Inventory.Equipped.Trinket1.Cooldown <= 0)
{
Logging.Write(Color.Red, "Trinket 1: - " + StyxWoW.Me.Inventory.Equipped.Trinket1.Name);
StyxWoW.Me.Inventory.Equipped.Trinket1.Use();
return;
}
if (StyxWoW.Me.Inventory.Equipped.Trinket2 != null [B][COLOR="#FF0000"]&& !StyxWoW.Me.Inventory.Equipped.Trinket2.Name.Contains(" Medallion of ")[/COLOR][/B] && StyxWoW.Me.Inventory.Equipped.Trinket2.Cooldown <= 0)
{
Logging.Write(Color.Red, "Trinket 2: - " + StyxWoW.Me.Inventory.Equipped.Trinket2.Name);
StyxWoW.Me.Inventory.Equipped.Trinket2.Use();
return;
}
}
}
}