mirror of
https://github.com/araxiaonline/RandomScriptsforAzerothCore.git
synced 2026-06-13 02:22:19 -04:00
Add files via upload
This commit is contained in:
@@ -45,6 +45,8 @@ function OnHardCore(event, player, unit, sender, intid, code)
|
||||
player:RemoveItem(10594, player:GetItemCount(10594))
|
||||
player:RemoveItem(65000, player:GetItemCount(65000))
|
||||
player:RemoveSpell(24939)
|
||||
player:RemoveSpell(100117)
|
||||
player:RemoveSpell(100117)
|
||||
--else gossip ends
|
||||
else
|
||||
player:GossipComplete()
|
||||
|
||||
@@ -18,7 +18,7 @@ creature:RemoveEvents()
|
||||
end
|
||||
|
||||
function SkeletalWarrior.OnDeath(event, creature, killer)
|
||||
creature:DespawnOrUnsummon(5000)
|
||||
creature:DespawnOrUnsummon(10000)
|
||||
creature:RemoveEvents()
|
||||
end
|
||||
|
||||
|
||||
@@ -71,6 +71,7 @@ creature:RegisterEvent(CastBellowingRoar, 33000, 0)
|
||||
end
|
||||
|
||||
local function OnLeaveCombat(event, creature)
|
||||
healthCheck = false
|
||||
creature:RemoveEvents()
|
||||
end
|
||||
|
||||
|
||||
12
SoL.lua
Normal file
12
SoL.lua
Normal 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)
|
||||
Reference in New Issue
Block a user