mirror of
https://github.com/araxiaonline/RandomScriptsforAzerothCore.git
synced 2026-06-13 10:22:22 -04:00
Add files via upload
This commit is contained in:
12
MiscTools/FelRushSoundFix.lua
Normal file
12
MiscTools/FelRushSoundFix.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
local SPELL_ID = 100207
|
||||
local SOUND_ID = 53774
|
||||
local ADDITIONAL_SPELL_ID = 200181
|
||||
|
||||
function OnSpellCast(event, player, spell)
|
||||
if spell:GetEntry() == SPELL_ID then
|
||||
player:PlayDirectSound(SOUND_ID, player)
|
||||
player:CastSpell(player, ADDITIONAL_SPELL_ID, true)
|
||||
end
|
||||
end
|
||||
|
||||
RegisterPlayerEvent(5, OnSpellCast)
|
||||
Reference in New Issue
Block a user