[Lua] Savage Gladiator Gear NPC menu

Shout-Out

User Tag List

Results 1 to 1 of 1
  1. #1
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua] Savage Gladiator Gear NPC

    I created an NPC that gives you Savage gladiator gear. Just create and NPC with the ID of 510004 and give him gossip flags, (1)

    -Great for starting gear!

    Code:
    function On_Gossip(pUnit, event, player)
        pUnit:GossipCreateMenu(3544, player, 0)
        pUnit:GossipMenuAddItem(0, "[Deathknight]", 1, 0)
        pUnit:GossipMenuAddItem(0, "[Mage]", 2, 0)
        pUnit:GossipMenuAddItem(0, "[Druid Resto]", 3, 0)
        pUnit:GossipMenuAddItem(0, "[Druid Feral]", 4, 0)
        pUnit:GossipMenuAddItem(0, "[Druid Balance]", 5, 0)
        pUnit:GossipMenuAddItem(0, "[Hunter]", 6, 0)
        pUnit:GossipMenuAddItem(0, "[Paladin Holy]", 7, 0)
        pUnit:GossipMenuAddItem(0, "[Paladin Ret/Tank]", 8, 0)
        pUnit:GossipMenuAddItem(0, "[Priest Holy]", 9, 0)
        pUnit:GossipMenuAddItem(0, "[Priest Shadow]", 10, 0)
        pUnit:GossipMenuAddItem(0, "[Next Page]", 11, 0)
        pUnit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(pUnit, event, player, id, intid, code)
    
    if (intid == 11) then
        pUnit:GossipCreateMenu(3543, player, 0)
        pUnit:GossipMenuAddItem(0, "[Rogue]", 12, 0)
        pUnit:GossipMenuAddItem(0, "[Shaman Resto]", 13, 0)
        pUnit:GossipMenuAddItem(0, "[Shaman Enhancement]", 14, 0)
        pUnit:GossipMenuAddItem(0, "[Shaman Elemental]", 15, 0)
        pUnit:GossipMenuAddItem(0, "[Warlock]", 16, 0)
        pUnit:GossipMenuAddItem(0, "[Warrior]", 17, 0)
        pUnit:GossipSendMenu(player)
    end
    
    if (intid == 1) then
    player:AddItem(40779, 1)
    player:AddItem(40799, 1)
    player:AddItem(40817, 1)
    player:AddItem(40837, 1)
    player:AddItem(40857, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 2) then
    player:AddItem(41943, 1)
    player:AddItem(41949, 1)
    player:AddItem(41956, 1)
    player:AddItem(41962, 1)
    player:AddItem(41968, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 3) then
    player:AddItem(41268, 1)
    player:AddItem(41269, 1)
    player:AddItem(41270, 1)
    player:AddItem(41371, 1)
    player:AddItem(41372, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 4) then
    player:AddItem(41658, 1)
    player:AddItem(41664, 1)
    player:AddItem(41675, 1)
    player:AddItem(41712, 1)
    player:AddItem(41770, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 5) then
    player:AddItem(41278, 1)
    player:AddItem(41290, 1)
    player:AddItem(41301, 1)
    player:AddItem(41313, 1)
    player:AddItem(41324, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 6) then
    player:AddItem(41084, 1)
    player:AddItem(41140, 1)
    player:AddItem(41154, 1)
    player:AddItem(41202, 1)
    player:AddItem(41214, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 7) then
    player:AddItem(40898, 1)
    player:AddItem(40918, 1)
    player:AddItem(40930, 1)
    player:AddItem(40936, 1)
    player:AddItem(40960, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 8) then
    player:AddItem(40780, 1)
    player:AddItem(40798, 1)
    player:AddItem(40818, 1)
    player:AddItem(40838, 1)
    player:AddItem(40858, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 9) then
    player:AddItem(41847, 1)
    player:AddItem(41848, 1)
    player:AddItem(41849, 1)
    player:AddItem(41850, 1)
    player:AddItem(41851, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 10) then
    player:AddItem(41912, 1)
    player:AddItem(41918, 1)
    player:AddItem(41924, 1)
    player:AddItem(41930, 1)
    player:AddItem(41937, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 12) then
    player:AddItem(41643, 1)
    player:AddItem(41644, 1)
    player:AddItem(41645, 1)
    player:AddItem(41646, 1)
    player:AddItem(41647, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 13) then
    player:AddItem(40986, 1)
    player:AddItem(40998, 1)
    player:AddItem(41010, 1)
    player:AddItem(41023, 1)
    player:AddItem(41024, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 14) then
    player:AddItem(41078, 1)
    player:AddItem(41134, 1)
    player:AddItem(41148, 1)
    player:AddItem(41160, 1)
    player:AddItem(41208, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 15) then
    player:AddItem(40987, 1)
    player:AddItem(41004, 1)
    player:AddItem(41016, 1)
    player:AddItem(41030, 1)
    player:AddItem(41041, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 16) then
    player:AddItem(41990, 1)
    player:AddItem(41996, 1)
    player:AddItem(42002, 1)
    player:AddItem(42008, 1)
    player:AddItem(42014, 1)
    pUnit:GossipComplete(player)
    end
    
    if (intid == 17) then
    player:AddItem(40778, 1)
    player:AddItem(40797, 1)
    player:AddItem(40816, 1)
    player:AddItem(40836, 1)
    player:AddItem(40856, 1)
    pUnit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(510004, 1, "On_Gossip")
    RegisterUnitGossipEvent(510004, 2, "Gossip_Submenus")

    Done by piersd
    Gamer tag - Midnight133

    [Lua] Savage Gladiator Gear NPC

Similar Threads

  1. [LUA] 3-in-1 NPC - | Buff | Morph | Heal
    By [pwn]age in forum WoW EMU General Releases
    Replies: 26
    Last Post: 05-01-2009, 04:38 PM
  2. [Request] Gladiator gear to Deathdealer+more
    By Disphotic in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 06-16-2008, 02:43 PM
  3. Gladiator gear where
    By Zaphry in forum WoW ME Questions and Requests
    Replies: 5
    Last Post: 06-06-2008, 05:48 AM
  4. gearing npc?
    By nether drake in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 11-08-2007, 12:24 PM
  5. Gladiator Gear for rogues...
    By Ryuzakisan in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 07-11-2007, 12:59 PM
All times are GMT -5. The time now is 08:03 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search