Advertisement
nimzo_asc

Bloody Pvp Pow / Resi update

Aug 29th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.03 KB | None | 0 0
  1. -- Head, Chest, Legs
  2. UPDATE item_template
  3. SET PvPpower = if(name LIKE "Bloodforged%", 8, 14)
  4. , stat_value10 = if(name LIKE "Bloodforged%", 12, 18)
  5. , spellid_4 = if(name LIKE "Bloodforged%", 101708, 101714)
  6. WHERE InventoryType IN (1, 5, 7, 20) #Head, Chest, Legs
  7. AND subclass = 1 #Cloth
  8. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  9. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  10.  
  11. UPDATE item_template
  12. SET PvPpower = if(name LIKE "Bloodforged%", 8, 14)
  13. , stat_value10 = if(name LIKE "Bloodforged%", 10, 16)
  14. , spellid_4 = if(name LIKE "Bloodforged%", 101708, 101714)
  15. WHERE InventoryType IN (1, 5, 7, 20) #Head, Chest, Legs
  16. AND subclass = 2 #Leather
  17. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  18. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  19.  
  20. UPDATE item_template
  21. SET PvPpower = if(name LIKE "Bloodforged%", 8, 14)
  22. , stat_value10 = if(name LIKE "Bloodforged%", 8, 13)
  23. , spellid_4 = if(name LIKE "Bloodforged%", 101708, 101714)
  24. WHERE InventoryType IN (1, 5, 7, 20) #Head, Chest, Legs
  25. AND subclass = 3 #Mail
  26. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  27. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  28.  
  29. UPDATE item_template
  30. SET PvPpower = if(name LIKE "Bloodforged%", 8, 14)
  31. , stat_value10 = if(name LIKE "Bloodforged%", 7, 12)
  32. , spellid_4 = if(name LIKE "Bloodforged%", 101708, 101714)
  33. WHERE InventoryType IN (1, 5, 7, 20) #Head, Chest, Legs
  34. AND subclass = 4 #Plate
  35. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  36. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  37.  
  38. -- Shoulders, Boots, Gloves, Waist
  39. UPDATE item_template
  40. SET PvPpower = if(name LIKE "Bloodforged%", 6, 12)
  41. , stat_value10 = if(name LIKE "Bloodforged%", 10, 14)
  42. , spellid_4 = if(name LIKE "Bloodforged%", 101706, 101712)
  43. WHERE InventoryType IN (3, 6, 8, 10) #Shoulders, Boots, Gloves, Waist
  44. AND subclass = 1 #Cloth
  45. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  46. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  47.  
  48.  
  49. UPDATE item_template
  50. SET PvPpower = if(name LIKE "Bloodforged%", 6, 12)
  51. , stat_value10 = if(name LIKE "Bloodforged%", 8, 13)
  52. , spellid_4 = if(name LIKE "Bloodforged%", 101706, 101712)
  53. WHERE InventoryType IN (3, 6, 8, 10) #Shoulders, Boots, Gloves, Waist
  54. AND subclass = 2 #Leather
  55. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  56. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  57.  
  58. UPDATE item_template
  59. SET PvPpower = if(name LIKE "Bloodforged%", 6, 12)
  60. , stat_value10 = if(name LIKE "Bloodforged%", 7, 11)
  61. , spellid_4 = if(name LIKE "Bloodforged%", 101706, 101712)
  62. WHERE InventoryType IN (3, 6, 8, 10) #Shoulders, Boots, Gloves, Waist
  63. AND subclass = 3 #Mail
  64. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  65. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  66.  
  67. UPDATE item_template
  68. SET PvPpower = if(name LIKE "Bloodforged%", 6, 12)
  69. , stat_value10 = if(name LIKE "Bloodforged%", 6, 10)
  70. , spellid_4 = if(name LIKE "Bloodforged%", 101706, 101712)
  71. WHERE InventoryType IN (3, 6, 8, 10) #Shoulders, Boots, Gloves, Waist
  72. AND subclass = 4 #Plate
  73. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  74. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  75.  
  76. -- Bracers
  77. UPDATE item_template
  78. SET PvPpower = if(name LIKE "Bloodforged%", 5, 10)
  79. , stat_value10 = if(name LIKE "Bloodforged%", 8, 11)
  80. , spellid_4 = if(name LIKE "Bloodforged%", 101705, 101710)
  81. WHERE InventoryType IN (9) #Bracers
  82. AND subclass = 1 #Cloth
  83. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  84. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  85.  
  86. UPDATE item_template
  87. SET PvPpower = if(name LIKE "Bloodforged%", 5, 10)
  88. , stat_value10 = if(name LIKE "Bloodforged%", 7, 10)
  89. , spellid_4 = if(name LIKE "Bloodforged%", 101705, 101710)
  90. WHERE InventoryType IN (9) #Bracers
  91. AND subclass = 2 #Leather
  92. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  93. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  94.  
  95. UPDATE item_template
  96. SET PvPpower = if(name LIKE "Bloodforged%", 5, 10)
  97. , stat_value10 = if(name LIKE "Bloodforged%", 6, 8)
  98. , spellid_4 = if(name LIKE "Bloodforged%", 101705, 101710)
  99. WHERE InventoryType IN (9) #Bracers
  100. AND subclass = 3 #Mail
  101. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  102. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  103.  
  104. UPDATE item_template
  105. SET PvPpower = if(name LIKE "Bloodforged%", 5, 10)
  106. , stat_value10 = if(name LIKE "Bloodforged%", 5, 7)
  107. , spellid_4 = if(name LIKE "Bloodforged%", 101705, 101710)
  108. WHERE InventoryType IN (9) #Bracers
  109. AND subclass = 4 #Plate
  110. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  111. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  112.  
  113. -- Neck, Cloak, Ring, Trinket, Shield, Offhand, Ranged, Wand, 1h
  114. UPDATE item_template
  115. SET PvPpower = if(name LIKE "Bloodforged%", 4, 6)
  116. , stat_value10 = if(name LIKE "Bloodforged%", 4, 6)
  117. , spellid_4 = if(name LIKE "Bloodforged%", 101704, 101706)
  118. WHERE InventoryType IN (2, 11, 12, 13, 14, 15, 16, 21, 21, 22, 23, 25, 26, 28)
  119. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  120. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  121.  
  122. -- 2h
  123. UPDATE item_template
  124. SET PvPpower = if(name LIKE "Bloodforged%", 8, 12)
  125. , stat_value10 = if(name LIKE "Bloodforged%", 8, 12)
  126. , spellid_4 = if(name LIKE "Bloodforged%", 101708, 101712)
  127. WHERE InventoryType IN (17)
  128. AND stat_type10 <> 0 AND pvppower <> 0 AND spellid_4 <> 0
  129. AND requiredlevel BETWEEN 61 AND 70 AND NAME LIKE "Bloodforged%" AND stat_value10 > 0 AND pvppower > 0;
  130.  
  131.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement