Skip to content

Commit

Permalink
Add default event for Nef's Lair to make it easier for people to crea…
Browse files Browse the repository at this point in the history
…te Onyxia Scale Cloak sets

Signed-off-by: Michael Welter <[email protected]>
  • Loading branch information
mikinho committed May 7, 2020
1 parent c39a226 commit 3131d01
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ItemRack/ItemRackEvents.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3131d01

Please sign in to comment.