magnusz

Gladius Config

Dec 2nd, 2020
1,071
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.35 KB | None | 0 0
  1.  
  2. Gladius2DB = {
  3. ["profileKeys"] = {
  4. ["Magnusz - Ravencrest"] = "Magnusz - Ravencrest",
  5. ["Magnuszx - Sargeras"] = "Magnuszx - Sargeras",
  6. ["Mulletmanmag - Sargeras"] = "Magnuszx - Sargeras",
  7. ["Magwalker - Sargeras"] = "Magnuszx - Sargeras",
  8. },
  9. ["profiles"] = {
  10. ["Magnusz - Ravencrest"] = {
  11. ["drTrackerAdjustSize"] = false,
  12. ["tagsVersion"] = 4,
  13. ["locked"] = true,
  14. ["y"] = {
  15. ["arena1"] = 487.8227233886719,
  16. },
  17. ["x"] = {
  18. ["arena1"] = 1016.178131103516,
  19. },
  20. ["bottomMargin"] = 15,
  21. ["drTrackerMargin"] = 0,
  22. ["dispellOffsetX"] = 62,
  23. ["drTrackerOffsetY"] = 0,
  24. ["castBarHeight"] = 20,
  25. ["tags"] = {
  26. ["maxhealth"] = {
  27. ["func"] = "function(unit)\nreturn not Gladius.test and UnitHealthMax(unit) or Gladius.testing[unit].maxHealth\nend",
  28. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  29. },
  30. ["class:short"] = {
  31. ["preparation"] = true,
  32. ["func"] = "function(unit)\nreturn not Gladius.test and Gladius.L[LOCALIZED_CLASS_NAMES_MALE[Gladius.buttons[unit].class]..\":short\"] or Gladius.L[LOCALIZED_CLASS_NAMES_MALE[Gladius.testing[unit].unitClass]..\":short\"]\nend",
  33. ["events"] = "UNIT_NAME_UPDATE",
  34. },
  35. ["health:short"] = {
  36. ["func"] = "function(unit)\nlocal health = not Gladius.test and UnitHealth(unit) or Gladius.testing[unit].health\nif (health > 999) then\nreturn strformat(\"%.1fk\", (health / 1000))\nelse\nreturn health\nend\nend",
  37. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  38. },
  39. ["class"] = {
  40. ["preparation"] = true,
  41. ["func"] = "function(unit)\nreturn not Gladius.test and LOCALIZED_CLASS_NAMES_MALE[Gladius.buttons[unit].class] or LOCALIZED_CLASS_NAMES_MALE[Gladius.testing[unit].unitClass]\nend",
  42. ["events"] = "UNIT_NAME_UPDATE",
  43. },
  44. ["power:short"] = {
  45. ["func"] = "function(unit)\nlocal power = not Gladius.test and UnitPower(unit) or Gladius.testing[unit].power\nif (power > 999) then\nreturn strformat(\"%.1fk\", (power / 1000))\nelse\nreturn power\nend\nend",
  46. ["events"] = "UNIT_POWER_UPDATE UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  47. },
  48. ["race"] = {
  49. ["func"] = "function(unit)\nreturn not Gladius.test and UnitRace(unit) or Gladius.testing[unit].unitRace\nend",
  50. ["events"] = "UNIT_NAME_UPDATE",
  51. },
  52. ["maxpower:short"] = {
  53. ["func"] = "function(unit)\nlocal power = not Gladius.test and UnitPowerMax(unit) or Gladius.testing[unit].maxPower\nif (power > 999) then\nreturn strformat(\"%.1fk\", (power / 1000))\nelse\nreturn power\nend\nend",
  54. ["events"] = "UNIT_MAXPOWER UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  55. },
  56. ["power"] = {
  57. ["func"] = "function(unit)\nreturn not Gladius.test and UnitPower(unit) or Gladius.testing[unit].power\nend",
  58. ["events"] = "UNIT_POWER_UPDATE UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  59. },
  60. ["name:status"] = {
  61. ["func"] = "function(unit)\nreturn UnitIsDeadOrGhost(unit) and Gladius.L[\"DEAD\"] or (UnitName(unit) or unit)\nend",
  62. ["events"] = "UNIT_NAME_UPDATE UNIT_HEALTH",
  63. },
  64. ["spec"] = {
  65. ["preparation"] = true,
  66. ["func"] = "function(unit)\nreturn Gladius.test and Gladius.testing[unit].unitSpec or Gladius.buttons[unit].spec\nend",
  67. ["events"] = "UNIT_NAME_UPDATE GLADIUS_SPEC_UPDATE",
  68. },
  69. ["power:percentage"] = {
  70. ["func"] = "function(unit)\nlocal power = not Gladius.test and UnitPower(unit) or Gladius.testing[unit].power\nlocal maxPower = not Gladius.test and UnitPowerMax(unit) or Gladius.testing[unit].maxPower\nreturn strformat(\"%.1f%%\", (power / maxPower * 100))\nend",
  71. ["events"] = "UNIT_POWER_UPDATE UNIT_MAXPOWER UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  72. },
  73. ["name"] = {
  74. ["func"] = "function(unit)\nreturn UnitName(unit) or unit\nend",
  75. ["events"] = "UNIT_NAME_UPDATE",
  76. },
  77. ["spec:short"] = {
  78. ["preparation"] = true,
  79. ["func"] = "function(unit)\nlocal spec = Gladius.test and Gladius.testing[unit].unitSpec or Gladius.buttons[unit].spec\nif (spec == nil or spec == \"\") then\nreturn \"\"\nend\nreturn Gladius.L[spec..\":short\"]\nend",
  80. ["events"] = "UNIT_NAME_UPDATE GLADIUS_SPEC_UPDATE",
  81. },
  82. ["health:percentage"] = {
  83. ["func"] = "function(unit)\nlocal health = not Gladius.test and UnitHealth(unit) or Gladius.testing[unit].health\nlocal maxHealth = not Gladius.test and UnitHealthMax(unit) or Gladius.testing[unit].maxHealth\nreturn strformat(\"%.1f%%\", (health / maxHealth * 100))\nend",
  84. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  85. },
  86. ["health"] = {
  87. ["func"] = "function(unit)\nreturn not Gladius.test and UnitHealth(unit) or Gladius.testing[unit].health\nend",
  88. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  89. },
  90. ["maxhealth:short"] = {
  91. ["func"] = "function(unit)\nlocal health = not Gladius.test and UnitHealthMax(unit) or Gladius.testing[unit].maxHealth\nif (health > 999) then\nreturn strformat(\"%.1fk\", (health / 1000))\nelse\nreturn health\nend\nend",
  92. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  93. },
  94. ["maxpower"] = {
  95. ["func"] = "function(unit)\nreturn not Gladius.test and UnitPowerMax(unit) or Gladius.testing[unit].maxPower\nend",
  96. ["events"] = "UNIT_MAXPOWER UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  97. },
  98. },
  99. ["auraVersion"] = 1,
  100. ["backgroundPadding"] = 0,
  101. },
  102. ["Magnuszx - Sargeras"] = {
  103. ["castBarHeight"] = 20,
  104. ["tags"] = {
  105. ["maxhealth"] = {
  106. ["func"] = "function(unit)\nreturn not Gladius.test and UnitHealthMax(unit) or Gladius.testing[unit].maxHealth\nend",
  107. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  108. },
  109. ["class:short"] = {
  110. ["preparation"] = true,
  111. ["func"] = "function(unit)\nreturn not Gladius.test and Gladius.L[LOCALIZED_CLASS_NAMES_MALE[Gladius.buttons[unit].class]..\":short\"] or Gladius.L[LOCALIZED_CLASS_NAMES_MALE[Gladius.testing[unit].unitClass]..\":short\"]\nend",
  112. ["events"] = "UNIT_NAME_UPDATE",
  113. },
  114. ["health:short"] = {
  115. ["func"] = "function(unit)\nlocal health = not Gladius.test and UnitHealth(unit) or Gladius.testing[unit].health\nif (health > 999) then\nreturn strformat(\"%.1fk\", (health / 1000))\nelse\nreturn health\nend\nend",
  116. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  117. },
  118. ["class"] = {
  119. ["preparation"] = true,
  120. ["func"] = "function(unit)\nreturn not Gladius.test and LOCALIZED_CLASS_NAMES_MALE[Gladius.buttons[unit].class] or LOCALIZED_CLASS_NAMES_MALE[Gladius.testing[unit].unitClass]\nend",
  121. ["events"] = "UNIT_NAME_UPDATE",
  122. },
  123. ["power:short"] = {
  124. ["func"] = "function(unit)\nlocal power = not Gladius.test and UnitPower(unit) or Gladius.testing[unit].power\nif (power > 999) then\nreturn strformat(\"%.1fk\", (power / 1000))\nelse\nreturn power\nend\nend",
  125. ["events"] = "UNIT_POWER_UPDATE UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  126. },
  127. ["race"] = {
  128. ["func"] = "function(unit)\nreturn not Gladius.test and UnitRace(unit) or Gladius.testing[unit].unitRace\nend",
  129. ["events"] = "UNIT_NAME_UPDATE",
  130. },
  131. ["maxpower:short"] = {
  132. ["func"] = "function(unit)\nlocal power = not Gladius.test and UnitPowerMax(unit) or Gladius.testing[unit].maxPower\nif (power > 999) then\nreturn strformat(\"%.1fk\", (power / 1000))\nelse\nreturn power\nend\nend",
  133. ["events"] = "UNIT_MAXPOWER UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  134. },
  135. ["power"] = {
  136. ["func"] = "function(unit)\nreturn not Gladius.test and UnitPower(unit) or Gladius.testing[unit].power\nend",
  137. ["events"] = "UNIT_POWER_UPDATE UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  138. },
  139. ["name:status"] = {
  140. ["func"] = "function(unit)\nreturn UnitIsDeadOrGhost(unit) and Gladius.L[\"DEAD\"] or (UnitName(unit) or unit)\nend",
  141. ["events"] = "UNIT_NAME_UPDATE UNIT_HEALTH",
  142. },
  143. ["spec"] = {
  144. ["preparation"] = true,
  145. ["func"] = "function(unit)\nreturn Gladius.test and Gladius.testing[unit].unitSpec or Gladius.buttons[unit].spec\nend",
  146. ["events"] = "UNIT_NAME_UPDATE GLADIUS_SPEC_UPDATE",
  147. },
  148. ["power:percentage"] = {
  149. ["func"] = "function(unit)\nlocal power = not Gladius.test and UnitPower(unit) or Gladius.testing[unit].power\nlocal maxPower = not Gladius.test and UnitPowerMax(unit) or Gladius.testing[unit].maxPower\nreturn strformat(\"%.1f%%\", (power / maxPower * 100))\nend",
  150. ["events"] = "UNIT_POWER_UPDATE UNIT_MAXPOWER UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  151. },
  152. ["name"] = {
  153. ["func"] = "function(unit)\nreturn UnitName(unit) or unit\nend",
  154. ["events"] = "UNIT_NAME_UPDATE",
  155. },
  156. ["spec:short"] = {
  157. ["preparation"] = true,
  158. ["func"] = "function(unit)\nlocal spec = Gladius.test and Gladius.testing[unit].unitSpec or Gladius.buttons[unit].spec\nif (spec == nil or spec == \"\") then\nreturn \"\"\nend\nreturn Gladius.L[spec..\":short\"]\nend",
  159. ["events"] = "UNIT_NAME_UPDATE GLADIUS_SPEC_UPDATE",
  160. },
  161. ["health:percentage"] = {
  162. ["func"] = "function(unit)\nlocal health = not Gladius.test and UnitHealth(unit) or Gladius.testing[unit].health\nlocal maxHealth = not Gladius.test and UnitHealthMax(unit) or Gladius.testing[unit].maxHealth\nreturn strformat(\"%.1f%%\", (health / maxHealth * 100))\nend",
  163. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  164. },
  165. ["maxpower"] = {
  166. ["func"] = "function(unit)\nreturn not Gladius.test and UnitPowerMax(unit) or Gladius.testing[unit].maxPower\nend",
  167. ["events"] = "UNIT_MAXPOWER UNIT_DISPLAYPOWER UNIT_NAME_UPDATE",
  168. },
  169. ["maxhealth:short"] = {
  170. ["func"] = "function(unit)\nlocal health = not Gladius.test and UnitHealthMax(unit) or Gladius.testing[unit].maxHealth\nif (health > 999) then\nreturn strformat(\"%.1fk\", (health / 1000))\nelse\nreturn health\nend\nend",
  171. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  172. },
  173. ["health"] = {
  174. ["func"] = "function(unit)\nreturn not Gladius.test and UnitHealth(unit) or Gladius.testing[unit].health\nend",
  175. ["events"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE",
  176. },
  177. },
  178. ["dispellOffsetX"] = 62,
  179. ["backgroundPadding"] = 0,
  180. ["auraVersion"] = 1,
  181. ["y"] = {
  182. ["arena1"] = 487.8227233886719,
  183. },
  184. ["x"] = {
  185. ["arena1"] = 1016.178131103516,
  186. },
  187. ["drTrackerOffsetY"] = 0,
  188. ["drTrackerMargin"] = 0,
  189. ["locked"] = true,
  190. ["tagsVersion"] = 4,
  191. ["drTrackerAdjustSize"] = false,
  192. ["bottomMargin"] = 15,
  193. },
  194. },
  195. }
  196.  
Advertisement
Add Comment
Please, Sign In to add comment