aQeynosianCommemorativeBundle.lua 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. --[[
  2. Script Name : ItemScripts/aQeynosianCommemorativeBundle.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.05.30 06:05:32
  5. Script Purpose :
  6. :
  7. --]]
  8. local FIGHTER = 1
  9. local WARRIOR =2
  10. local GUARDIAN= 3
  11. local BERSERKER = 4
  12. local BRAWLER = 5
  13. local MONK = 6
  14. local BRUISER= 7
  15. local CRUSADER = 8
  16. local SHADOWKNIGHT = 9
  17. local PALADIN = 10
  18. local PRIEST = 11
  19. local CLERIC = 12
  20. local TEMPLAR = 13
  21. local INQUISITOR = 14
  22. local DRUID = 15
  23. local WARDEN = 16
  24. local FURY = 17
  25. local SHAMAN = 18
  26. local MYSTIC = 19
  27. local DEFILER = 20
  28. local MAGE = 21
  29. local SORCERER = 22
  30. local WIZARD = 23
  31. local WARLOCK = 24
  32. local ENCHANTER = 25
  33. local ILLUSIONIST = 26
  34. local COERCER = 27
  35. local SUMMONER = 28
  36. local CONJUROR = 29
  37. local NECROMANCER = 30
  38. local SCOUT = 31
  39. local ROGUE = 32
  40. local SWASHBUCKLER = 33
  41. local BRIGAND = 34
  42. local BARD = 35
  43. local TROUBADOR = 36
  44. local DIRGE = 37
  45. local PREDATOR = 38
  46. local RANGER = 39
  47. local ASSASSIN = 40
  48. local ANIMALIST = 41
  49. local BEASTLORD = 42
  50. local SHAPER = 43
  51. local CHANNELER = 44
  52. function examined(Item, Player)
  53. end
  54. function used(Item,Player)
  55. SummonItem(Player,1414,1)
  56. Weapon(Item,Player)
  57. RemoveItem(Player,1001003,1)
  58. end
  59. function Weapon(Item,Player)
  60. if GetClass(Player)==FIGHTER or GetClass(Player)==WARRIOR or GetClass(Player)==GUARDIAN or GetClass(Player)==BERSERKER then
  61. SummonItem(Player, 85495,1 )
  62. elseif GetClass(Player)==BRAWLER or GetClass(Player)==MONK or GetClass(Player)==BRUISER or GetClass(Player)==ANIMALIST or GetClass(Player)==BEASTLORD then
  63. SummonItem(Player,85483,1)
  64. elseif GetClass(Player)==CRUSADER or GetClass(Player)==SHADOWKNIGHT or GetClass(Player)==PALADIN then
  65. SummonItem(Player,85485,1)
  66. elseif GetClass(Player)==PRIEST or GetClass(Player)==CLERIC or GetClass(Player)==TEMPLAR or GetClass(Player)==INQUISITOR or GetClass(Player)==SHAPER or GetClass(Player)==CHANNELER then
  67. GSummonItem(Player,85484,1)
  68. elseif GetClass(Player)==DRUID or GetClass(Player)==WARDEN or GetClass(Player)==FURY then
  69. SummonItem(Player,85486,1)
  70. elseif GetClass(Player)==SHAMAN or GetClass(Player)==MYSTIC or GetClass(Player)==DEFILER then
  71. SummonItem(Player,85492,1)
  72. elseif GetClass(Player)==MAGE or GetClass(Player)==SORCERER or GetClass(Player)==WIZARD or GetClass(Player)==WARLOCK then
  73. SummonItem(Player,85493,1)
  74. elseif GetClass(Player)==ENCHANTER or GetClass(Player)==ILLUSIONIST or GetClass(Player)==COERCER then
  75. SummonItem(Player,85487,1)
  76. elseif GetClass(Player)==SUMMONER or GetClass(Player)==CONJUROR or GetClass(Player)==NECROMANCER then
  77. SummonItem(Player,85494,1)
  78. elseif GetClass(Player)==SCOUT or GetClass(Player)==ROGUE or GetClass(Player)==SWASHBUCKLER or GetClass(Player)==BRIGAND then
  79. SummonItem(Player,85491,1)
  80. elseif GetClass(Player)==BARD or GetClass(Player)==TROUBADOR or GetClass(Player)==DIRGE then
  81. SummonItem(Player,85482,1)
  82. elseif GetClass(Player)==RANGER or GetClass(Player)==ASSASSIN or GetClass(Player)==PREDATOR then
  83. SummonItem(Player,85489,1)
  84. end
  85. end