diff --git a/ItemRack/ItemRackEvents.lua b/ItemRack/ItemRackEvents.lua index b0a6669..36cf305 100644 --- a/ItemRack/ItemRackEvents.lua +++ b/ItemRack/ItemRackEvents.lua @@ -28,7 +28,7 @@ ]] -- increment this value when default events are changed to deploy them to existing events -ItemRack.EventsVersion = 15 +ItemRack.EventsVersion = 16 -- default events, loaded when no events exist or ItemRack.EventsVersion is increased ItemRack.DefaultEvents = { @@ -99,6 +99,14 @@ ItemRack.DefaultEvents = { Trigger = "UNIT_SPELLCAST_SUCCEEDED", Script = "local spell = \"Name of spell\"\nlocal set = \"Name of set\"\nif arg1==\"player\" and arg2==spell then\n EquipSet(set)\nend\n\n--[[This event will equip \"Name of set\" when \"Name of spell\" has finished casting. Change the names for your own use.]]", }, + + ["Nefarian's Lair"] = { + Type = "Zone", + Unequip = 1, + Zones = { + ["Nefarian's Lair"] = 1, + } + }, } -- resetDefault to reload/update default events, resetAll to wipe all events and recreate them