Add files via upload

This commit is contained in:
Dinkledork
2023-03-10 03:23:34 -07:00
committed by GitHub
parent bb8d26da51
commit e6a5000f2c
12 changed files with 334 additions and 77 deletions

19
BoneWitch.lua Normal file
View File

@@ -0,0 +1,19 @@
local BoneWitch = {};
local function CastBoneShards(eventId, delay, calls, creature)
creature:CastSpell(creature, 17014, true)
end
local function OnSpawn(event, creature, target)
creature:RegisterEvent(CastBoneShards, 100, 1)
creature:RegisterEvent(CastBoneShards, 14000, 0)
end
local function OnDied(event, creature, killer)
creature:DespawnOrUnsummon(25000)
creature:RemoveEvents()
end
RegisterCreatureEvent(16380, 5, OnSpawn)
RegisterCreatureEvent(16380, 4, OnDied)