Add files via upload

This commit is contained in:
Dinkledork
2023-02-15 15:04:02 -07:00
committed by GitHub
parent 20cf067590
commit cc5afc7c6c
15 changed files with 430 additions and 23 deletions

View File

@@ -12,26 +12,10 @@ local function CastSWP(eventId, delay, calls, creature)
creature:CastSpell(creature:GetVictim(), 27605, true)
end
local function CastHeal(eventId, delay, calls, creature)
local friendlyUnit = creature:GetRandomFriendlyUnit(5.0)
if friendlyUnit then
creature:CastSpell(friendlyUnit, 25314, true)
end
end
local function CastRenew(eventId, delay, calls, creature)
local friendlyUnit = creature:GetRandomFriendlyUnit(5.0)
if friendlyUnit then
creature:CastSpell(friendlyUnit, 25315, true)
end
end
local function OnEnterCombat(event, creature, target)
creature:RegisterEvent(CastSmite, 2600, 0)
creature:RegisterEvent(CastHolyFire, 5000, 0)
creature:RegisterEvent(CastSWP, 15000, 0)
creature:RegisterEvent(CastHeal, 10000, 0)
creature:RegisterEvent(CastRenew, 7000, 0)
end
local function OnLeaveCombat(event, creature)