Advertisement
tok124

SQL to view balanced stats for items

Nov 6th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 2.39 KB | None | 0 0
  1. /*
  2. ############################################################################################################
  3. ########################################## Query created by Tok124 #########################################
  4. #### Do not be afraid of the text i put here, this is SQL Comments and will not affect the query at all ####
  5. ############################################################################################################
  6. ############################################################################################################
  7. */
  8. -- Here is some variables, Feel free to edit them as you like.
  9. SET
  10. @multiplier = 100, -- Edit this value to change how much you want to multiply
  11. @name = "|cFF3c76c1Unreal-WoW|r|cFFd062fc"; -- Edit this name to replace "Sanctified" with the new name
  12.  
  13. /*
  14. #######################################################################################################
  15. #######################################################################################################
  16. #######################################################################################################
  17. DO NOT EDIT BELOW THIS LINE
  18. #######################################################################################################
  19. #######################################################################################################
  20. #######################################################################################################
  21. */
  22. SELECT
  23. entry,
  24. class,
  25. REPLACE(name, "Sanctified", @name) AS name,
  26. displayid,
  27. allowableclass,
  28. allowablerace,
  29. 10 AS StatsCount,
  30. stat_type1,
  31. stat_value1 * @multiplier AS stat_value1,
  32. stat_type2,
  33. stat_value2 * @multiplier AS stat_value2,
  34. stat_type3,
  35. stat_value3 * @multiplier AS stat_value3,
  36. stat_type4,
  37. stat_value4 * @multiplier AS stat_value4,
  38. stat_type5,
  39. stat_value5 * @multiplier AS stat_value5,
  40. stat_type6,
  41. stat_value6 * @multiplier AS stat_value6,
  42. stat_type7,
  43. stat_value7 * @multiplier AS stat_value7,
  44. stat_type8,
  45. stat_value8 * @multiplier AS stat_value8,
  46. stat_type9,
  47. stat_value9 * @multiplier AS stat_value9,
  48. stat_type10,
  49. stat_value10 * @multiplier AS stat_value10,
  50. inventorytype,
  51. 1 AS bonding,
  52. Material,
  53. armor,
  54. block,
  55. itemset,
  56. socketColor_1,
  57. socketColor_2,
  58. socketColor_3,
  59. 0 AS requiredLevel,
  60. 255 AS itemlevel,
  61. "Welcome to Unreal-WoW" AS description
  62. FROM item_template WHERE name LIKE "Sanctified%" AND itemlevel = 264;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement