AlexanderYoshi
11-04-2005, 07:47 PM
/script slot=GetInventorySlotInfo("Trinket0Slot");
/script s,d,e=GetInventoryItemCooldown("player",slot); t=GetTime();
/script if(s+d<=t and UnitIsEnemy("player","target")) then UseInventoryItem(slot); SpellStopCasting();end
/cast Shadow Bolt
Also known as "Throwing the Warlocks a Bone", this Macro allows you to automatically trigger your Slot 0 Trinket when you target a hostile unit and cast a particular spell.
Pretty dark, no?
Remember to delete the newline after "then" if you copy and paste this macro.
/script s,d,e=GetInventoryItemCooldown("player",slot); t=GetTime();
/script if(s+d<=t and UnitIsEnemy("player","target")) then UseInventoryItem(slot); SpellStopCasting();end
/cast Shadow Bolt
Also known as "Throwing the Warlocks a Bone", this Macro allows you to automatically trigger your Slot 0 Trinket when you target a hostile unit and cast a particular spell.
Pretty dark, no?
Remember to delete the newline after "then" if you copy and paste this macro.