name: Death Ray Ready
trigger: ITEMRACK_NOTIFY
delay: 0
if arg1=="Gnomish Death Ray" then
EquipSet()
end
--[[Associate a set containing only the Gnomish Death Ray.]]
name: Death Ray Used
trigger: ITEMRACK_ITEMUSED
delay: 3 <- change to the cast time of the death ray (in seconds)
script:
if arg1=="Gnomish Death Ray" then
EquipSet()
end
--[[Associate a set containing only a trinket that's not the Gnomish Death Ray.]]
You could make it general purpose equip death ray, unequip to previous trinket with LoadSet() but the above is a trinket swap in its most simplest form.
(make sure Notify at 30 is checked in options if you want it to swap at 30 seconds instead of 0 seconds)
|