From 3131d011901ee75f04df8aab76a5dad31f7d92d1 Mon Sep 17 00:00:00 2001 From: Michael Welter Date: Thu, 7 May 2020 14:42:09 -0500 Subject: [PATCH] Add default event for Nef's Lair to make it easier for people to create Onyxia Scale Cloak sets Signed-off-by: Michael Welter --- ItemRack/ItemRackEvents.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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