From f304af9737b83452f7be684bb0a7287bfaf315d6 Mon Sep 17 00:00:00 2001 From: Dinkledork <118951051+Day36512@users.noreply.github.com> Date: Fri, 24 Mar 2023 01:23:16 -0600 Subject: [PATCH] Add files via upload --- HardcoreMode/Hardcore.lua | 20 ++++++++++++-------- HardcoreMode/HardcoreItemRemoval.lua | 5 +++-- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/HardcoreMode/Hardcore.lua b/HardcoreMode/Hardcore.lua index bffd6cd..1ba6fdc 100644 --- a/HardcoreMode/Hardcore.lua +++ b/HardcoreMode/Hardcore.lua @@ -29,14 +29,19 @@ end --Selection for NPC gossip function OnSelect(event, player, unit, sender, intid, code) if intid == 1 then - -- (Previous code remains the same) + player:PlayDistanceSound(20433) + player:GossipMenuAddItem(0, "Just double checking to make sure that you want to turn on hardcore mode. This will lock the character after death to be no longer playable, remove all your current gold, remove bonus starter items and Murky will no longer be with you! I will likely be adding rewards for reaching certain stages of the game later...", 0, 2) + player:GossipMenuAddItem(0, "NO TAKE ME BACK!", 0, 3) + player:GossipSendMenu(2, unit) elseif intid == 4 then - player:GossipMenuAddItem(0, "Wings are a major feature of this server and provide a number of unique benefits aside from simply looking great. If you open your spellbook, you'll notice a few new spells and can probably guess at what some of those features might be.", 0, 5) + player:PlayDistanceSound(172899) + player:GossipMenuAddItem(0, "Wings are a major feature of this world and provide a number of unique benefits aside from simply looking great. If you open your spellbook, you'll notice a few new spells and can probably guess at what some of those benefits might be.", 0, 5) player:GossipSendMenu(4, unit) elseif intid == 5 then player:GossipMenuAddItem(0, "Where can I get wings?", 0, 6) player:GossipSendMenu(5, unit) elseif intid == 6 then + player:PlayDistanceSound(172901) player:GossipMenuAddItem(0, "Wings have been scattered in various places throughout Azeroth and are primarily attached to tabards. That said not every tabard will provide wings and not all wings have been released in game. As time goes on I will add more wings with different sources of acquisition and different benefits. If you choose to do hardcore mode you may get lucky enough to acquire a pair for yourself if you make it to certain levels...", 0, 7) player:GossipSendMenu(6, unit) elseif intid == 7 then @@ -47,19 +52,18 @@ end --if player chooses to do hardcore they receive the token and have custom items and Murky removed function OnHardCore(event, player, unit, sender, intid, code) if intid == 2 then - player:PlayDistanceSound(20434) + player:PlayDistanceSound(20434) player:AddItem(90000, 1) player:SetCoinage(0) player:RemoveItem(60002, player:GetItemCount(60002)) player:RemoveItem(10594, player:GetItemCount(10594)) player:RemoveItem(65000, player:GetItemCount(65000)) - player:RemoveSpell(24939) - player:RemoveSpell(100117) - player:RemoveSpell(100118) - --else gossip ends + player:RemoveSpell(24939) + player:RemoveSpell(100117) + player:RemoveSpell(100118) + player:RemoveSpell(100105) else player:GossipComplete() - player:PlayDistanceSound(20434) end end diff --git a/HardcoreMode/HardcoreItemRemoval.lua b/HardcoreMode/HardcoreItemRemoval.lua index 6547bab..de41e66 100644 --- a/HardcoreMode/HardcoreItemRemoval.lua +++ b/HardcoreMode/HardcoreItemRemoval.lua @@ -21,8 +21,9 @@ end -- Remove Murky local function removeSpell(player) player:RemoveSpell(24939) - player:RemoveSpell(100117) - player:RemoveSpell(100118) + player:RemoveSpell(100117) + player:RemoveSpell(100118) + player:RemoveSpell(100105) end -- Script body