diff --git a/Hardcore.lua b/Hardcore.lua index f6b1883..c0431ce 100644 --- a/Hardcore.lua +++ b/Hardcore.lua @@ -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() diff --git a/SkeletalWarrior.lua b/SkeletalWarrior.lua index 7d72b3a..75a11ae 100644 --- a/SkeletalWarrior.lua +++ b/SkeletalWarrior.lua @@ -18,7 +18,7 @@ creature:RemoveEvents() end function SkeletalWarrior.OnDeath(event, creature, killer) - creature:DespawnOrUnsummon(5000) + creature:DespawnOrUnsummon(10000) creature:RemoveEvents() end diff --git a/Smolder.lua b/Smolder.lua index 3fdc8ea..2ce841f 100644 --- a/Smolder.lua +++ b/Smolder.lua @@ -71,6 +71,7 @@ creature:RegisterEvent(CastBellowingRoar, 33000, 0) end local function OnLeaveCombat(event, creature) +healthCheck = false creature:RemoveEvents() end diff --git a/SoL.lua b/SoL.lua new file mode 100644 index 0000000..2e7b65f --- /dev/null +++ b/SoL.lua @@ -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)