Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 5 of 5
  1. #1
    Senior Sergeant
    MikExV™'s Avatar
    Join Date
    Feb 2010
    Location
    Ohio
    Posts
    117
    Post Thanks / Like
    Rep Power
    15
    Reputation
    35

    [Lua] GM Buffer/GM Item Giver


    Register to remove this ad
    Well its a quite Simplet .lua Script. You click the npc you set it to and you can click GM Gear, or GM spells, and there is retail GM gear. And a few Retail GM spells. Hope you guys like it
    I have not tested it yet.

    Code:
    function On_Gossip(pUnit, event, player)
        pUnit:GossipCreateMenu(3544, player, 0)
        pUnit:GossipMenuAddItem(0, "Game Master Gear", 1, 0)
        pUnit:GossipMenuAddItem(0, "Game Master Buff Menu", 3, 0)
    end
    
    function Gossip_Submenus(pUnit, event, player, id, intid, code)
    if (intid == 3) then
        pUnit:GossipCreateMenu(3543, player, 0)
        pUnit:GossipMenuAddItem(0, "Uber Heal", 5, 0)
        pUnit:GossipMenuAddItem(0, "Divine Shield", 6, 0)
        pUnit:GossipMenuAddItem(0, "Thorns", 7, 0)
        pUnit:GossipMenuAddItem(0, "Haste Aura", 8, 0)
    end
    
    if(intid == 5) then
    unit:GossipCreateMenu(71, player, 0)
    unit:FullCastSpellOnTarget(1908, player)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 6) then
    unit:GossipCreateMenu(71, player, 0)
    unit:FullCastSpellOnTarget(40733, player)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 7) then
    unit:GossipCreateMenu(71, player, 0)
    unit:FullCastSpellOnTarget(62931, player)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 8) then
    unit:GossipCreateMenu(71, player, 0)
    unit:FullCastSpellOnTarget(13589, player)
    unit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(pUnit, event, player, id, intid, code)
    if (intid == 1) then
        pUnit:GossipCreateMenu(3543, player, 0)
        pUnit:GossipMenuAddItem(0, "Retail Game Master Gear", 2, 0)
        end
    
    if (intid == 2) then
    player:AddItem(2586, 1)
    player:AddItem(12064, 1)
    player:AddItem(11508, 1)
    player:AddItem(192, 1)
    
    RegisterUnitGossipEvent(Your NPC ID HERE!, 1, "On_Gossip")
    RegisterUnitGossipEvent(YOUR NPC ID HERE!, 2, "Gossip_Submenus")
    First Script ever made


    › See More: [Lua] GM Buffer/GM Item Giver
    Last edited by MikExV™; 16-03-10 at 09:00 PM.

  2. #2
    Contributor
    shadowslayer133's Avatar
    Join Date
    Jan 2009
    Posts
    53
    Post Thanks / Like
    Rep Power
    17
    Reputation
    92
    A bit simple for an Lua script, but it may provide as a template for someone in need of one.

  3. #3
    Founder
    Apple's Avatar
    Join Date
    Jul 2008
    Location
    HeaveN
    Posts
    15,916
    Post Thanks / Like
    Rep Power
    10
    Reputation
    295
    for trying to contribute





  4. #4
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188
    Isn't there anyway to use LUAhypARC or w/e to make it check for GM?

    Otherwise if a player finds this NPC they can get all that.

    But other then that

  5. #5
    Senior Sergeant
    MikExV™'s Avatar
    Join Date
    Feb 2010
    Location
    Ohio
    Posts
    117
    Post Thanks / Like
    Rep Power
    15
    Reputation
    35

    Register to remove this ad
    Np Msouls, and yes I know WigSplitta I will be editing the script its my first one I have ever made.




  6. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Visitors found this page by searching for:

lua mangos buff master

trinity gmgear

script gm buffer

gm buffer script

gm item lua

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 08:29 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org