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:
@@ -17,10 +17,11 @@ function OnFirstTalk(event, player, unit)
|
||||
if player:GetLevel() == 1 then
|
||||
player:PlayDistanceSound(20431)
|
||||
player:GossipMenuAddItem(0, "Looking for a challenge? Click here to try hardcore mode!", 0, 1)
|
||||
player:GossipMenuAddItem(0, "What's with the wings?", 0, 4)
|
||||
player:GossipSendMenu(1, unit)
|
||||
else
|
||||
player:SendBroadcastMessage("You must be level 1 to access hardcore mode.")
|
||||
player:PlayDistanceSound(20432)
|
||||
player:PlayDistanceSound(20432)
|
||||
player:GossipComplete()
|
||||
end
|
||||
end
|
||||
@@ -28,10 +29,18 @@ end
|
||||
--Selection for NPC gossip
|
||||
function OnSelect(event, player, unit, sender, intid, code)
|
||||
if intid == 1 then
|
||||
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)
|
||||
-- (Previous code remains the same)
|
||||
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: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: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
|
||||
player:GossipComplete()
|
||||
end
|
||||
end
|
||||
|
||||
@@ -57,4 +66,4 @@ end
|
||||
RegisterCreatureGossipEvent(hcNPC, 1 , OnFirstTalk)
|
||||
RegisterCreatureGossipEvent(hcNPC, 2, OnSelect)
|
||||
RegisterCreatureGossipEvent(hcNPC, 2, OnHardCore)
|
||||
RegisterPlayerEvent(8, PlayerDeath)
|
||||
RegisterPlayerEvent(8, PlayerDeath)
|
||||
Reference in New Issue
Block a user