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 3 of 3
  1. #1
    Senior Sergeant
    *Alexz*'s Avatar
    Join Date
    Aug 2008
    Posts
    107
    Post Thanks / Like
    Rep Power
    17
    Reputation
    33

    Weapon skills trainer (maxes skills out)


    Register to remove this ad
    When you set this up for your server..
    Make local NPC_ID = 8
    Equal the id of the npc you want to do this

    Code:
    local NPC_ID = 8
    
    function Skills_GossipTalk(pUnit, event, player)
    
    pUnit:GossipCreateMenu(100, player, 0)
    pUnit:GossipMenuAddItem(10, "Hello there "..player:GetName()..".",0, 0)
    pUnit:GossipMenuAddItem(10, "|cFF0000A0Max out my weapon skills!",1, 0)
    pUnit:GossipMenuAddItem(10, "|cFF0000A0Teach me Dual-Wield!",3, 0)
    pUnit:GossipMenuAddItem(10, "|cFF0000A0No Thanks!",2, 0)
    pUnit:GossipSendMenu(player)
    end
    
    function Skills_GossipSelect(pUnit, event, player, id, intid, code)
    
    if(intid == 2) then
    player:GossipComplete()
    end
    
    if(intid == 1) then
    player:GossipComplete()
    player:SendAreaTriggerMessage("All skills at max Have fun!")
    player:AdvanceSkill(43,1275)
    player:AdvanceSkill(44,1275)
    player:AdvanceSkill(45,1275)
    player:AdvanceSkill(46,1275)
    player:AdvanceSkill(54,1275)
    player:AdvanceSkill(55,1275)
    player:AdvanceSkill(95,1275)
    player:AdvanceSkill(136,1275)
    player:AdvanceSkill(160,1275)
    player:AdvanceSkill(162,1275)
    player:AdvanceSkill(172,1275)
    player:AdvanceSkill(173,1275)
    player:AdvanceSkill(176,1275)
    player:AdvanceSkill(226,1275)
    player:AdvanceSkill(228,1275)
    player:AdvanceSkill(229,1275)
    player:AdvanceSkill(473,1275)
    pUnit:CastSpell(25465)
    pUnit:CastSpell(25465)
    end
    
    
    if(intid == 3) then
    if (player:HasSpell(674) == true) then
    player:SendAreaTriggerMessage("You already have Dual-Wield, if it doesnt work try to relog!")
    else
    player:GossipComplete()
    player:UnlearnSpell(674)
    player:LearnSpell(674)
    player:SendAreaTriggerMessage("You Have Learned Dual-Weild!")
    end
    end
    end
    
    RegisterUnitGossipEvent(8, 1, "Skills_GossipTalk")
    RegisterUnitGossipEvent(8, 2, "Skills_GossipSelect")





    › See More: Weapon skills trainer (maxes skills out)



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

  3. #2
    Elite Member
    Dimman's Avatar
    Join Date
    Apr 2009
    Posts
    1,091
    Post Thanks / Like
    Rep Power
    21
    Reputation
    319
    Nice share alexz, +Rep when i can
    No touching please.

  4. #3
    Senior Sergeant
    *Alexz*'s Avatar
    Join Date
    Aug 2008
    Posts
    107
    Post Thanks / Like
    Rep Power
    17
    Reputation
    33

    Register to remove this ad
    Lol that owed rep pile just keeps adding up

 

 

Visitors found this page by searching for:

1275 weapon skill 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 07:48 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