Add files via upload

This commit is contained in:
Dinkledork
2023-03-17 09:26:29 -06:00
committed by GitHub
parent 6f443cf36c
commit 2421ce12c3
4 changed files with 16 additions and 1 deletions

12
SoL.lua Normal file
View File

@@ -0,0 +1,12 @@
-- AzerothCore Eluna script by Dinkledork
local SPELL_SURGE_OF_LIGHT_1 = 33151
local SPELL_CUSTOM = 100205
local function OnSpellCast(event, player, spell, skipCheck)
local spellId = spell:GetEntry()
if spellId == SPELL_SURGE_OF_LIGHT_1 then
player:CastSpell(player, SPELL_CUSTOM, true)
end
end
RegisterPlayerEvent(5, OnSpellCast)