Advertisement
IcariumQA

Bloodforged item PVP power fix

Jun 4th, 2021
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.61 KB | None | 0 0
  1. UPDATE item_template
  2. SET PvPpower = 1
  3. , stat_value10 = 1
  4. , spellid_4 = 101701
  5. WHERE PvPpower > 1
  6. AND requiredlevel BETWEEN 41 AND 70
  7. AND name LIKE 'Bloodforged%'
  8. AND stat_type10 = 35
  9. AND (stat_value10 = 0 OR stat_value10 IS NULL);
  10.  
  11.  
  12.  
  13. UPDATE item_template
  14. SET PvPpower = if(name LIKE 'Bloodforged%', 24, 42)
  15. , stat_value10 = if(name LIKE 'Bloodforged%', 12, 18)
  16. , spellid_4 = if(name LIKE 'Bloodforged%', 101724, 101742)
  17. WHERE InventoryType IN (1, 5, 7, 20) #Head, Chest, Legs
  18. AND subclass = 1 #Cloth
  19. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  20. AND requiredlevel BETWEEN 41 AND 70;
  21.  
  22. UPDATE item_template
  23. SET PvPpower = if(name LIKE 'Bloodforged%', 24, 42)
  24. , stat_value10 = if(name LIKE 'Bloodforged%', 10, 16)
  25. , spellid_4 = if(name LIKE 'Bloodforged%', 101724, 101742)
  26. WHERE InventoryType IN (1, 5, 7, 20) #Head, Chest, Legs
  27. AND subclass = 2 #Leather
  28. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  29. AND requiredlevel BETWEEN 41 AND 70;
  30.  
  31. UPDATE item_template
  32. SET PvPpower = if(name LIKE 'Bloodforged%', 24, 42)
  33. , stat_value10 = if(name LIKE 'Bloodforged%', 8, 13)
  34. , spellid_4 = if(name LIKE 'Bloodforged%', 101724, 101742)
  35. WHERE InventoryType IN (1, 5, 7, 20) #Head, Chest, Legs
  36. AND subclass = 3 #Mail
  37. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  38. AND requiredlevel BETWEEN 41 AND 70;
  39.  
  40. UPDATE item_template
  41. SET PvPpower = if(name LIKE 'Bloodforged%', 24, 42)
  42. , stat_value10 = if(name LIKE 'Bloodforged%', 7, 12)
  43. , spellid_4 = if(name LIKE 'Bloodforged%', 101724, 101742)
  44. WHERE InventoryType IN (1, 5, 7, 20) #Head, Chest, Legs
  45. AND subclass = 4 #Plate
  46. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  47. AND requiredlevel BETWEEN 41 AND 70;
  48.  
  49. -- Shoulders, Boots, Gloves, Waist
  50. UPDATE item_template
  51. SET PvPpower = if(name LIKE 'Bloodforged%', 18, 36)
  52. , stat_value10 = if(name LIKE 'Bloodforged%', 10, 14)
  53. , spellid_4 = if(name LIKE 'Bloodforged%', 101718, 101736)
  54. WHERE InventoryType IN (3, 6, 8, 10) #Shoulders, Boots, Gloves, Waist
  55. AND subclass = 1 #Cloth
  56. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  57. AND requiredlevel BETWEEN 41 AND 70;
  58.  
  59.  
  60. UPDATE item_template
  61. SET PvPpower = if(name LIKE 'Bloodforged%', 18, 36)
  62. , stat_value10 = if(name LIKE 'Bloodforged%', 8, 13)
  63. , spellid_4 = if(name LIKE 'Bloodforged%', 101718, 101736)
  64. WHERE InventoryType IN (3, 6, 8, 10) #Shoulders, Boots, Gloves, Waist
  65. AND subclass = 2 #Leather
  66. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  67. AND requiredlevel BETWEEN 41 AND 70;
  68.  
  69. UPDATE item_template
  70. SET PvPpower = if(name LIKE 'Bloodforged%', 18, 36)
  71. , stat_value10 = if(name LIKE 'Bloodforged%', 7, 11)
  72. , spellid_4 = if(name LIKE 'Bloodforged%', 101718, 101736)
  73. WHERE InventoryType IN (3, 6, 8, 10) #Shoulders, Boots, Gloves, Waist
  74. AND subclass = 3 #Mail
  75. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  76. AND requiredlevel BETWEEN 41 AND 70;
  77.  
  78. UPDATE item_template
  79. SET PvPpower = if(name LIKE 'Bloodforged%', 18, 36)
  80. , stat_value10 = if(name LIKE 'Bloodforged%', 6, 10)
  81. , spellid_4 = if(name LIKE 'Bloodforged%', 101718, 101736)
  82. WHERE InventoryType IN (3, 6, 8, 10) #Shoulders, Boots, Gloves, Waist
  83. AND subclass = 4 #Plate
  84. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  85. AND requiredlevel BETWEEN 41 AND 70;
  86.  
  87. -- Bracers
  88. UPDATE item_template
  89. SET PvPpower = if(name LIKE 'Bloodforged%', 15, 30)
  90. , stat_value10 = if(name LIKE 'Bloodforged%', 8, 11)
  91. , spellid_4 = if(name LIKE 'Bloodforged%', 101715, 101730)
  92. WHERE InventoryType IN (9) #Bracers
  93. AND subclass = 1 #Cloth
  94. AND stat_type10 = 35
  95. and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100)
  96. AND pvppower BETWEEN 1 and 100
  97. AND spellid_4 <> 0
  98. AND requiredlevel BETWEEN 41 AND 70;
  99.  
  100. UPDATE item_template
  101. SET PvPpower = if(name LIKE 'Bloodforged%', 15, 30)
  102. , stat_value10 = if(name LIKE 'Bloodforged%', 7, 10)
  103. , spellid_4 = if(name LIKE 'Bloodforged%', 101715, 101730)
  104. WHERE InventoryType IN (9) #Bracers
  105. AND subclass = 2 #Leather
  106. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  107. AND requiredlevel BETWEEN 41 AND 70;
  108.  
  109. UPDATE item_template
  110. SET PvPpower = if(name LIKE 'Bloodforged%', 15, 30)
  111. , stat_value10 = if(name LIKE 'Bloodforged%', 6, 8)
  112. , spellid_4 = if(name LIKE 'Bloodforged%', 101715, 101730)
  113. WHERE InventoryType IN (9) #Bracers
  114. AND subclass = 3 #Mail
  115. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  116. AND requiredlevel BETWEEN 41 AND 70;
  117.  
  118. UPDATE item_template
  119. SET PvPpower = if(name LIKE 'Bloodforged%', 15, 30)
  120. , stat_value10 = if(name LIKE 'Bloodforged%', 5, 7)
  121. , spellid_4 = if(name LIKE 'Bloodforged%', 101715, 101730)
  122. WHERE InventoryType IN (9) #Bracers
  123. AND subclass = 4 #Plate
  124. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  125. AND requiredlevel BETWEEN 41 AND 70;
  126.  
  127. -- Neck, Cloak, Ring, Trinket
  128. UPDATE item_template
  129. SET PvPpower = if(name LIKE 'Bloodforged%', 12, 18)
  130. , stat_value10 = if(name LIKE 'Bloodforged%', 4, 6)
  131. , spellid_4 = if(name LIKE 'Bloodforged%', 101712, 101718)
  132. WHERE InventoryType IN (2, 11, 12, 16)
  133. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  134. AND requiredlevel BETWEEN 41 AND 70;
  135.  
  136. -- Shield, Offhand, Ranged, Wand, 1h
  137. UPDATE item_template
  138. SET PvPpower = if(name LIKE 'Bloodforged%', 12, 24)
  139. , stat_value10 = if(name LIKE 'Bloodforged%', 4, 8)
  140. , spellid_4 = if(name LIKE 'Bloodforged%', 101712, 101724)
  141. WHERE InventoryType IN (13, 14, 15, 21, 21, 22, 23, 25, 26, 28)
  142. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  143. AND requiredlevel BETWEEN 41 AND 70;
  144.  
  145. -- 2h
  146. UPDATE item_template
  147. SET PvPpower = if(name LIKE 'Bloodforged%', 16, 48)
  148. , stat_value10 = if(name LIKE 'Bloodforged%', 8, 16)
  149. , spellid_4 = if(name LIKE 'Bloodforged%', 101716, 101748)
  150. WHERE InventoryType IN (17)
  151. AND stat_type10 = 35 and if(name LIKE 'Bloodforged%', stat_value10 BETWEEN 0 AND 100 , stat_value10 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  152. AND requiredlevel BETWEEN 41 AND 70;
  153.  
  154.  
  155. UPDATE item_template
  156. SET PvPpower = if(name LIKE 'Bloodforged%', 12, 12)
  157. #, stat_value9 = if(name LIKE 'Bloodforged%', 4, 6)
  158. , spellid_4 = if(name LIKE 'Bloodforged%', 101712, 101712)
  159. WHERE InventoryType IN (2, 11, 12, 16)
  160. AND stat_type9 = 35 and if(name LIKE 'Bloodforged%', stat_value9 BETWEEN 0 AND 100 , stat_value9 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  161. AND requiredlevel BETWEEN 41 AND 70;
  162.  
  163. -- Shield, Offhand, Ranged, Wand, 1h
  164. UPDATE item_template
  165. SET PvPpower = if(name LIKE 'Bloodforged%', 12, 12)
  166. #, stat_value9 = if(name LIKE 'Bloodforged%', 4, 8)
  167. , spellid_4 = if(name LIKE 'Bloodforged%', 101712, 101712)
  168. WHERE InventoryType IN (13, 14, 15, 21, 21, 22, 23, 25, 26, 28)
  169. AND stat_type9 = 35 and if(name LIKE 'Bloodforged%', stat_value9 BETWEEN 0 AND 100 , stat_value9 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  170. AND requiredlevel BETWEEN 41 AND 70;
  171.  
  172. -- 2h
  173. UPDATE item_template
  174. SET PvPpower = if(name LIKE 'Bloodforged%', 16, 16)
  175. #, stat_value9 = if(name LIKE 'Bloodforged%', 8, 16)
  176. , spellid_4 = if(name LIKE 'Bloodforged%', 101716, 101716)
  177. WHERE InventoryType IN (17)
  178. AND stat_type9 = 35 and if(name LIKE 'Bloodforged%', stat_value9 BETWEEN 0 AND 100 , stat_value9 BETWEEN 1 AND 100) AND pvppower BETWEEN 1 and 100 AND spellid_4 <> 0
  179. AND requiredlevel BETWEEN 41 AND 70;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement