Add files via upload

This commit is contained in:
Dinkledork
2023-03-21 02:25:28 -06:00
committed by GitHub
parent ae862cfc54
commit 700c67a93f
50 changed files with 2044 additions and 0 deletions

21
Stormwind/Duthorian.lua Normal file
View File

@@ -0,0 +1,21 @@
local DuthorianRall = {};
local function CastJoL(eventId, delay, calls, creature)
creature:CastSpell(creature:GetVictim(), 20185, true)
end
local function OnEnterCombat(event, creature, target)
creature:RegisterEvent(CastJoL, 5000, 0)
end
local function OnLeaveCombat(event, creature)
creature:RemoveEvents()
end
local function OnDied(event, creature, killer)
creature:RemoveEvents()
end
RegisterCreatureEvent(6171, 1, OnEnterCombat)
RegisterCreatureEvent(6171, 2, OnLeaveCombat)
RegisterCreatureEvent(6171, 4, OnDied)