Likes: 0
Results 1 to 2 of 2
Thread: PvP Set vendor
-
18-04-09, 02:59 PM #1
PvP Set vendor
Register to remove this ad
Just finished. Partially tested. Please report any errors on the thread.
Code:function On_Gossip(pUnit, event, player) pUnit:GossipCreateMenu(3544, player, 0) pUnit:GossipMenuAddItem(0, "[Deathknight Season 5]", 1, 0) pUnit:GossipMenuAddItem(0, "[Mage Season 5]", 2, 0) pUnit:GossipMenuAddItem(0, "[Druid Season 5 Resto]", 3, 0) pUnit:GossipMenuAddItem(0, "[Druid Season 5 Feral]", 4, 0) pUnit:GossipMenuAddItem(0, "[Druid Season 5 Balance]", 5, 0) pUnit:GossipMenuAddItem(0, "[Hunter Season 5]", 6, 0) pUnit:GossipMenuAddItem(0, "[Paladin Season 5 Holy]", 7, 0) pUnit:GossipMenuAddItem(0, "[Paladin Season 5 Ret/Tank]", 8, 0) pUnit:GossipMenuAddItem(0, "[Priest Season 5 Holy]", 9, 0) pUnit:GossipMenuAddItem(0, "[Priest Season 5 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 Season 5]", 12, 0) pUnit:GossipMenuAddItem(0, "[Shaman Season 5 Resto]", 13, 0) pUnit:GossipMenuAddItem(0, "[Shaman Season 5 Enhancement]", 14, 0) pUnit:GossipMenuAddItem(0, "[Shaman Season 5 Elemental]", 15, 0) pUnit:GossipMenuAddItem(0, "[Warlock Season 5]", 16, 0) pUnit:GossipMenuAddItem(0, "[Warrior Season 5]", 17, 0) pUnit:GossipSendMenu(player) end if (intid == 1) then player:AddItem(40784, 1) player:AddItem(40806, 1) player:AddItem(40824, 1) player:AddItem(40845, 1) player:AddItem(40863, 1) pUnit:GossipComplete(player) end if (intid == 2) then player:AddItem(41945, 1) player:AddItem(41951, 1) player:AddItem(41958, 1) player:AddItem(41964, 1) player:AddItem(41970, 1) pUnit:GossipComplete(player) end if (intid == 3) then player:AddItem(41274, 1) player:AddItem(41286, 1) player:AddItem(41297, 1) player:AddItem(41309, 1) player:AddItem(41320, 1) pUnit:GossipComplete(player) end if (intid == 4) then player:AddItem(41660, 1) player:AddItem(41666, 1) player:AddItem(41677, 1) player:AddItem(41714, 1) player:AddItem(41772, 1) pUnit:GossipComplete(player) end if (intid == 5) then player:AddItem(41280, 1) player:AddItem(41292, 1) player:AddItem(41303, 1) player:AddItem(41315, 1) player:AddItem(41326, 1) pUnit:GossipComplete(player) end if (intid == 6) then player:AddItem(41086, 1) player:AddItem(41142, 1) player:AddItem(41156, 1) player:AddItem(41204, 1) player:AddItem(41216, 1) pUnit:GossipComplete(player) end if (intid == 7) then player:AddItem(40905, 1) player:AddItem(40926, 1) player:AddItem(40932, 1) player:AddItem(40938, 1) player:AddItem(40962, 1) pUnit:GossipComplete(player) end if (intid == 8) then player:AddItem(40785, 1) player:AddItem(40805, 1) player:AddItem(40825, 1) player:AddItem(40846, 1) player:AddItem(40864, 1) pUnit:GossipComplete(player) end if (intid == 9) then player:AddItem(41853, 1) player:AddItem(41858, 1) player:AddItem(41863, 1) player:AddItem(41868, 1) player:AddItem(41873, 1) pUnit:GossipComplete(player) end if (intid == 10) then player:AddItem(41914, 1) player:AddItem(41920, 1) player:AddItem(41926, 1) player:AddItem(41933, 1) player:AddItem(41939, 1) pUnit:GossipComplete(player) end if (intid == 12) then player:AddItem(41649, 1) player:AddItem(41652, 1) player:AddItem(41671, 1) player:AddItem(41682, 1) player:AddItem(41766, 1) pUnit:GossipComplete(player) end if (intid == 13) then player:AddItem(40990, 1) player:AddItem(41000, 1) player:AddItem(41012, 1) player:AddItem(41026, 1) player:AddItem(41037, 1) pUnit:GossipComplete(player) end if (intid == 14) then player:AddItem(41080, 1) player:AddItem(41136, 1) player:AddItem(41150, 1) player:AddItem(41198, 1) player:AddItem(41210, 1) pUnit:GossipComplete(player) end if (intid == 15) then player:AddItem(40991, 1) player:AddItem(41006, 1) player:AddItem(41018, 1) player:AddItem(41032, 1) player:AddItem(41043, 1) pUnit:GossipComplete(player) end if (intid == 16) then player:AddItem(41992, 1) player:AddItem(41997, 1) player:AddItem(42004, 1) player:AddItem(42010, 1) player:AddItem(42016, 1) pUnit:GossipComplete(player) end if (intid == 17) then player:AddItem(40786, 1) player:AddItem(40804, 1) player:AddItem(40823, 1) player:AddItem(40844, 1) player:AddItem(40862, 1) pUnit:GossipComplete(player) end end RegisterUnitGossipEvent(510003, 1, "On_Gossip") RegisterUnitGossipEvent(510003, 2, "Gossip_Submenus")
› See More: PvP Set vendorLast edited by Sdyess94; 19-04-09 at 12:39 PM.
-
18-08-09, 11:53 AM #2
Register to remove this adDeleted
Last edited by Lbniese; 18-09-09 at 09:36 AM. Reason: could not delete*