Don't like ads? PRO users don't see any ads ;-)
Guest

Attributes

By: nonSENSE on Aug 12th, 2012  |  syntax: Lua  |  size: 16.48 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --=================--
  2. -- List of affixes --
  3. --=================--
  4.  
  5. -- Format of nonDB.Library.Global.AddAttribute:
  6. -- Code, Minimum Range, Maximum Range, Is a positive attribute?, Is a prefix / suffix / neither?, Name, Description
  7.  
  8.  
  9. --====== Prefixes ======--
  10.  
  11. -- +% Chance to find magic items
  12. nonDB.Library.Global.AddAttribute("_mf0p", 1,   5,              true,   true,   30,     "Opportune",    "+%d%% Better Chance of Getting Magic Item")
  13. nonDB.Library.Global.AddAttribute("_mf1p", 6,   10,             true,   true,   6,      "Promising",    "+%d%% Better Chance of Getting Magic Item")
  14. nonDB.Library.Global.AddAttribute("_mf2p", 11,  15,             true,   true,   4,      "Blessed",              "+%d%% Better Chance of Getting Magic Item")
  15. nonDB.Library.Global.AddAttribute("_mf3p", 16,  20,             true,   true,   2,      "Lucky",                "+%d%% Better Chance of Getting Magic Item")
  16. nonDB.Library.Global.AddAttribute("_mf4p", 21,  25,             true,   true,   1,      "Golden",               "+%d%% Better Chance of Getting Magic Item")
  17.  
  18. -- +% Extra Cash Earned
  19. nonDB.Library.Global.AddAttribute("_gf0p", 1,   3,              true,   true,   30,     "Favorable",    "+%d%% Extra Cash Earned")
  20. nonDB.Library.Global.AddAttribute("_gf1p", 4,   6,              true,   true,   7,      "Gaining",              "+%d%% Extra Cash Earned")
  21. nonDB.Library.Global.AddAttribute("_gf2p", 7,   9,              true,   true,   4,      "Prosperous",   "+%d%% Extra Cash Earned")
  22. nonDB.Library.Global.AddAttribute("_gf3p", 10,  12,             true,   true,   2,      "Wealthy",              "+%d%% Extra Cash Earned")
  23. nonDB.Library.Global.AddAttribute("_gf4p", 13,  15,             true,   true,   1,      "Loaded",               "+%d%% Extra Cash Earned")
  24.  
  25. -- +% Chance to find rare items
  26. nonDB.Library.Global.AddAttribute("_rf0p", 1,   4,              true,   true,   20,     "Daring",               "+%d%% Better Chance of Getting Rare Item")
  27. nonDB.Library.Global.AddAttribute("_rf1p", 5,   8,              true,   true,   4,      "Betting",              "+%d%% Better Chance of Getting Rare Item")
  28. nonDB.Library.Global.AddAttribute("_rf2p", 9,   12,             true,   true,   2,      "Gambling",     "+%d%% Better Chance of Getting Rare Item")
  29. nonDB.Library.Global.AddAttribute("_rf3p", 13,  16,             true,   true,   1,      "Tempting",     "+%d%% Better Chance of Getting Rare Item")
  30. nonDB.Library.Global.AddAttribute("_rf4p", 17,  20,             true,   true,   1,      "Winning",              "+%d%% Better Chance of Getting Rare Item")
  31.  
  32. -- + Extra Items Per Day
  33. nonDB.Library.Global.AddAttribute("_ei0p", 1,   1,              true,   true,   2,      "Generous",     "+%d Extra Item per Day")
  34. nonDB.Library.Global.AddAttribute("_ei1p", 2,   2,              true,   true,   1,      "Ample",                "+%d Extra Items per Day")
  35. nonDB.Library.Global.AddAttribute("_ei2p", 3,   3,              true,   true,   1,      "Abundant",     "+%d Extra Items per Day")
  36.  
  37. -- +% More Votes
  38. nonDB.Library.Global.AddAttribute("_mv0p", 1,   6,              true,   true,   30,     "Decisive",             "+%d%% More Voting Power")
  39. nonDB.Library.Global.AddAttribute("_mv1p", 7,   12,             true,   true,   12,     "Controlling",  "+%d%% More Voting Power")
  40. nonDB.Library.Global.AddAttribute("_mv2p", 13,  18,             true,   true,   4,      "Bossy",                "+%d%% More Voting Power")
  41. nonDB.Library.Global.AddAttribute("_mv3p", 19,  24,             true,   true,   2,      "Imposing",             "+%d%% More Voting Power")
  42. nonDB.Library.Global.AddAttribute("_mv4p", 25,  30,             true,   true,   1,      "Commanding",   "+%d%% More Voting Power")
  43.  
  44. -- + Maximum Health
  45. nonDB.Library.Global.AddAttribute("_mh0p", 1,   4,              true,   true,   40,     "Fit",                  "+%d Maximum Health")
  46. nonDB.Library.Global.AddAttribute("_mh1p", 5,   8,              true,   true,   15,     "Lively",               "+%d Maximum Health")
  47. nonDB.Library.Global.AddAttribute("_mh2p", 9,   12,             true,   true,   4,      "Healthy",              "+%d Maximum Health")
  48. nonDB.Library.Global.AddAttribute("_mh3p", 13,  15,             true,   true,   1,      "Athletic",             "+%d Maximum Health")
  49.  
  50. -- +% Chance to find painted items
  51. nonDB.Library.Global.AddAttribute("_pf0p", 1,   4,              true,   true,   12,     "Tinted",               "+%d%% Better Chance of Getting Painted Item")
  52. nonDB.Library.Global.AddAttribute("_pf1p", 5,   8,              true,   true,   3,      "Hued",                 "+%d%% Better Chance of Getting Painted Item")
  53. nonDB.Library.Global.AddAttribute("_pf2p", 9,   12,             true,   true,   2,      "Flashy",               "+%d%% Better Chance of Getting Painted Item")
  54. nonDB.Library.Global.AddAttribute("_pf3p", 13,  16,             true,   true,   1,      "Colorful",     "+%d%% Better Chance of Getting Painted Item")
  55. nonDB.Library.Global.AddAttribute("_pf4p", 17,  20,             true,   true,   1,      "Vivid",                "+%d%% Better Chance of Getting Painted Item")
  56.  
  57. -- +% Higher Key Drop rate
  58. nonDB.Library.Global.AddAttribute("_kd0p", 1,   3,              true,   true,   10,     "Gleaming",     "+%d%% Higher Drop Rate for Keys")
  59. nonDB.Library.Global.AddAttribute("_kd1p", 4,   6,              true,   true,   3,      "Glistening",   "+%d%% Higher Drop Rate for Keys")
  60. nonDB.Library.Global.AddAttribute("_kd2p", 7,   9,              true,   true,   1,      "Sparkling",    "+%d%% Higher Drop Rate for Keys")
  61. nonDB.Library.Global.AddAttribute("_kd3p", 10,  12,             true,   true,   1,      "Brilliant",    "+%d%% Higher Drop Rate for Keys")
  62. nonDB.Library.Global.AddAttribute("_kd4p", 13,  15,             true,   true,   1,      "Radiant",              "+%d%% Higher Drop Rate for Keys")
  63.  
  64. -- +% Higher Fragment Drop rate
  65. nonDB.Library.Global.AddAttribute("_fd0p", 1,   3,              true,   true,   12,     "Split",                "+%d%% Higher Drop Rate for Fragments")
  66. nonDB.Library.Global.AddAttribute("_fd1p", 4,   6,              true,   true,   3,      "Disintegrated","+%d%% Higher Drop Rate for Fragments")
  67. nonDB.Library.Global.AddAttribute("_fd2p", 7,   9,              true,   true,   2,      "Shredded",     "+%d%% Higher Drop Rate for Fragments")
  68. nonDB.Library.Global.AddAttribute("_fd3p", 10,  12,             true,   true,   1,      "Collapsed",    "+%d%% Higher Drop Rate for Fragments")
  69. nonDB.Library.Global.AddAttribute("_fd4p", 13,  15,             true,   true,   1,      "Pulverized",   "+%d%% Higher Drop Rate for Fragments")
  70.  
  71. -- + Increased Movespeed
  72. nonDB.Library.Global.AddAttribute("_ms0p", 1,   3,              true,   true,   25,     "Agile",                "+%d Increased Movespeed")
  73. nonDB.Library.Global.AddAttribute("_ms1p", 4,   6,              true,   true,   7,      "Quick",                "+%d Increased Movespeed")
  74. nonDB.Library.Global.AddAttribute("_ms2p", 7,   9,              true,   true,   3,      "Fast",                 "+%d Increased Movespeed")
  75. nonDB.Library.Global.AddAttribute("_ms3p", 10,  12,             true,   true,   1,      "Rapid",                "+%d Increased Movespeed")
  76. nonDB.Library.Global.AddAttribute("_ms4p", 13,  15,             true,   true,   1,      "Dashing",              "+%d Increased Movespeed")
  77.  
  78. -- + Health regenerated / second
  79. nonDB.Library.Global.AddAttribute("_hr0p", 1,   1,              true,   true,   5,      "Mending",              "+%d HP regenerated every 5 seconds")
  80. nonDB.Library.Global.AddAttribute("_hr1p", 2,   2,              true,   true,   1,      "Healing",              "+%d HP regenerated every 5 seconds")
  81. nonDB.Library.Global.AddAttribute("_hr2p", 3,   3,              true,   true,   1,      "Regenerating", "+%d HP regenerated every 5 seconds")
  82.  
  83.  
  84. --====== Suffixes ======--
  85.  
  86. -- +% Chance to find magic items
  87. nonDB.Library.Global.AddAttribute("_mf0s", 1,   5,              true,   false,  30,     "of Good Fortune", "+%d%% Better Chance of Getting Magic Item")
  88. nonDB.Library.Global.AddAttribute("_mf1s", 6,   10,             true,   false,  6,      "of Freedom",           "+%d%% Better Chance of Getting Magic Item")
  89. nonDB.Library.Global.AddAttribute("_mf2s", 11,  15,             true,   false,  4,      "of Luck",                      "+%d%% Better Chance of Getting Magic Item")
  90. nonDB.Library.Global.AddAttribute("_mf3s", 16,  20,             true,   false,  2,      "of Chance",            "+%d%% Better Chance of Getting Magic Item")
  91. nonDB.Library.Global.AddAttribute("_mf4s", 21,  25,             true,   false,  1,      "of Advantage",         "+%d%% Better Chance of Getting Magic Item")
  92.  
  93. -- +% Extra Cash Earned
  94. nonDB.Library.Global.AddAttribute("_gf0s", 1,   3,              true,   false,  30,     "of Coins",                     "+%d%% Extra Cash Earned")
  95. nonDB.Library.Global.AddAttribute("_gf1s", 4,   6,              true,   false,  7,      "of Riches",            "+%d%% Extra Cash Earned")
  96. nonDB.Library.Global.AddAttribute("_gf2s", 7,   9,              true,   false,  4,      "of Treasure",          "+%d%% Extra Cash Earned")
  97. nonDB.Library.Global.AddAttribute("_gf3s", 10,  12,             true,   false,  2,      "of Resources",         "+%d%% Extra Cash Earned")
  98. nonDB.Library.Global.AddAttribute("_gf4s", 13,  15,             true,   false,  1,      "of Savings",           "+%d%% Extra Cash Earned")
  99.  
  100. -- +% Chance to find rare items
  101. nonDB.Library.Global.AddAttribute("_rf0s", 1,   4,              true,   false,  20,     "of Ventures",          "+%d%% Better Chance of Getting Rare Item")
  102. nonDB.Library.Global.AddAttribute("_rf1s", 5,   8,              true,   false,  4,      "of Wagers",            "+%d%% Better Chance of Getting Rare Item")
  103. nonDB.Library.Global.AddAttribute("_rf2s", 9,   12,             true,   false,  2,      "of Risks",             "+%d%% Better Chance of Getting Rare Item")
  104. nonDB.Library.Global.AddAttribute("_rf3s", 13,  16,             true,   false,  1,      "of the Lottery",       "+%d%% Better Chance of Getting Rare Item")
  105. nonDB.Library.Global.AddAttribute("_rf4s", 17,  20,             true,   false,  1,      "of Bets",                      "+%d%% Better Chance of Getting Rare Item")
  106.  
  107. -- + Extra Items Per Day
  108. nonDB.Library.Global.AddAttribute("_ei0s", 1,   1,              true,   false,  2,      "of Generosity",        "+%d Extra Item per Day")
  109. nonDB.Library.Global.AddAttribute("_ei1s", 2,   2,              true,   false,  1,      "of Charity",           "+%d Extra Items per Day")
  110. nonDB.Library.Global.AddAttribute("_ei2s", 3,   3,              true,   false,  1,      "of Compassion",        "+%d Extra Items per Day")
  111.  
  112. -- +% More Votes
  113. nonDB.Library.Global.AddAttribute("_mv0s", 1,   6,              true,   false,  30,     "of Superiority",       "+%d%% More Voting Power")
  114. nonDB.Library.Global.AddAttribute("_mv1s", 7,   12,             true,   false,  12,     "of Direction",         "+%d%% More Voting Power")
  115. nonDB.Library.Global.AddAttribute("_mv2s", 13,  18,             true,   false,  4,      "of Domination",        "+%d%% More Voting Power")
  116. nonDB.Library.Global.AddAttribute("_mv3s", 19,  24,             true,   false,  2,      "of the Empire",        "+%d%% More Voting Power")
  117. nonDB.Library.Global.AddAttribute("_mv4s", 25,  30,             true,   false,  1,      "of Power",                     "+%d%% More Voting Power")
  118.  
  119. -- + Maximum Health
  120. nonDB.Library.Global.AddAttribute("_mh0s", 1,   4,              true,   false,  40,     "of Shape",                     "+%d Maximum Health")
  121. nonDB.Library.Global.AddAttribute("_mh1s", 5,   8,              true,   false,  15,     "of Well-Being",        "+%d Maximum Health")
  122. nonDB.Library.Global.AddAttribute("_mh2s", 9,   12,             true,   false,  4,      "of Energy",            "+%d Maximum Health")
  123. nonDB.Library.Global.AddAttribute("_mh3s", 13,  15,             true,   false,  1,      "of Vigor",                     "+%d Maximum Health")
  124.  
  125. -- +% Chance to find painted items
  126. nonDB.Library.Global.AddAttribute("_pf0s", 1,   4,              true,   false,  12,     "of Luminosity",        "+%d%% Better Chance of Getting Painted Item")
  127. nonDB.Library.Global.AddAttribute("_pf1s", 5,   8,              true,   false,  3,      "of Pigmentation",      "+%d%% Better Chance of Getting Painted Item")
  128. nonDB.Library.Global.AddAttribute("_pf2s", 9,   12,             true,   false,  2,      "of Shades",            "+%d%% Better Chance of Getting Painted Item")
  129. nonDB.Library.Global.AddAttribute("_pf3s", 13,  16,             true,   false,  1,      "of Saturation",        "+%d%% Better Chance of Getting Painted Item")
  130. nonDB.Library.Global.AddAttribute("_pf4s", 17,  20,             true,   false,  1,      "of Dye",                       "+%d%% Better Chance of Getting Painted Item")
  131.  
  132. -- +% Higher Key Drop rate
  133. nonDB.Library.Global.AddAttribute("_kd0s", 1,   3,              true,   false,  10,     "of Brilliance",        "+%d%% Higher Drop Rate for Keys")
  134. nonDB.Library.Global.AddAttribute("_kd1s", 4,   6,              true,   false,  3,      "of the Locksmith",     "+%d%% Higher Drop Rate for Keys")
  135. nonDB.Library.Global.AddAttribute("_kd2s", 7,   9,              true,   false,  1,      "of the Beacon",        "+%d%% Higher Drop Rate for Keys")
  136. nonDB.Library.Global.AddAttribute("_kd3s", 10,  12,             true,   false,  1,      "of Glitter",           "+%d%% Higher Drop Rate for Keys")
  137. nonDB.Library.Global.AddAttribute("_kd4s", 13,  15,             true,   false,  1,      "of Illumination",      "+%d%% Higher Drop Rate for Keys")
  138.  
  139. -- +% Higher Fragment Drop rate
  140. nonDB.Library.Global.AddAttribute("_fd0s", 1,   3,              true,   false,  12,     "of Chunks",            "+%d%% Higher Drop Rate for Fragments")
  141. nonDB.Library.Global.AddAttribute("_fd1s", 4,   6,              true,   false,  3,      "of Lumps",                     "+%d%% Higher Drop Rate for Fragments")
  142. nonDB.Library.Global.AddAttribute("_fd2s", 7,   9,              true,   false,  2,      "of Slices",            "+%d%% Higher Drop Rate for Fragments")
  143. nonDB.Library.Global.AddAttribute("_fd3s", 10,  12,             true,   false,  1,      "of Shreds",            "+%d%% Higher Drop Rate for Fragments")
  144. nonDB.Library.Global.AddAttribute("_fd4s", 13,  15,             true,   false,  1,      "of Scraps",            "+%d%% Higher Drop Rate for Fragments")
  145.  
  146. -- + Increased Movespeed
  147. nonDB.Library.Global.AddAttribute("_ms0s", 1,   3,              true,   false,  25,     "of Swiftness",         "+%d Increased Movespeed")
  148. nonDB.Library.Global.AddAttribute("_ms1s", 4,   6,              true,   false,  7,      "of Celerity",          "+%d Increased Movespeed")
  149. nonDB.Library.Global.AddAttribute("_ms2s", 7,   9,              true,   false,  3,      "of Activity",          "+%d Increased Movespeed")
  150. nonDB.Library.Global.AddAttribute("_ms3s", 10,  12,             true,   false,  1,      "of the Cheetah",       "+%d Increased Movespeed")
  151. nonDB.Library.Global.AddAttribute("_ms4s", 13,  15,             true,   false,  1,      "of Speed",             "+%d Increased Movespeed")
  152.  
  153. -- + Health regenerated / second
  154. nonDB.Library.Global.AddAttribute("_hr0s", 1,   1,              true,   false,  5,      "of Recovery",          "+%d HP regenerated every 5 seconds")
  155. nonDB.Library.Global.AddAttribute("_hr1s", 2,   2,              true,   false,  1,      "of Cultivation",       "+%d HP regenerated every 5 seconds")
  156. nonDB.Library.Global.AddAttribute("_hr2s", 3,   3,              true,   false,  1,      "of Inner Strength","+%d HP regenerated every 5 seconds")
  157.  
  158.  
  159.  
  160.  
  161. --====== Extra Attributes ======--
  162.  
  163. -- +% Chance to find magic items
  164. nonDB.Library.Global.AddAttribute("_mf0",       1,      9999,   true,   nil,    0,      nil,    "+%d%% Better Chance of Getting Magic Item") -- cannot be rolled / for special items
  165.  
  166. -- +% Extra Cash Earned
  167. nonDB.Library.Global.AddAttribute("_gf0",       1,      9999,   true,   nil,    0,      nil,    "+%d%% Extra Cash Earned") -- cannot be rolled / for special items
  168.  
  169. -- +% Chance to find rare items
  170. nonDB.Library.Global.AddAttribute("_rf0",       1,      9999,   true,   nil,    0,      nil,    "+%d%% Better Chance of Getting Rare Item") -- cannot be rolled / for special items
  171.  
  172. -- + Extra Items Per Day
  173. nonDB.Library.Global.AddAttribute("_ei0",       1,      9999,   true,   nil,    0,      nil,    "+%d Extra Items per Day") -- cannot be rolled / for special items
  174.  
  175. -- +% More Votes
  176. nonDB.Library.Global.AddAttribute("_mv0",       1,      9999,   true,   nil,    0,      nil,    "+%d%% More Voting Power") -- cannot be rolled / for special items
  177.  
  178. -- + Maximum Health
  179. nonDB.Library.Global.AddAttribute("_mh0",       1,      9999,   true,   nil,    0,      nil,    "+%d Maximum Health") -- cannot be rolled / for special items
  180.  
  181. -- +% Chance to find painted items
  182. nonDB.Library.Global.AddAttribute("_pf0",       1,      9999,   true,   nil,    0,      nil,    "+%d%% Better Chance of Getting Painted Item") -- cannot be rolled / for special items
  183.  
  184. -- +% Higher Key Drop rate
  185. nonDB.Library.Global.AddAttribute("_kd0",       1,      9999,   true,   nil,    0,      nil,    "+%d%% Higher Drop Rate for Keys") -- cannot be rolled / for special items
  186.  
  187. -- +% Higher Fragment Drop rate
  188. nonDB.Library.Global.AddAttribute("_fd0",       1,      9999,   true,   nil,    0,      nil,    "+%d%% Higher Drop Rate for Fragments") -- cannot be rolled / for special items
  189.  
  190. -- + Increased Movespeed
  191. nonDB.Library.Global.AddAttribute("_ms0",       1,      9999,   true,   nil,    0,      nil,    "+%d Increased Movespeed") -- cannot be rolled / for special items
  192.  
  193. -- + Health regenerated / second
  194. nonDB.Library.Global.AddAttribute("_hr0",       1,      9999,   true,   nil,    0,      nil,    "+%d HP regenerated every 5 seconds") -- cannot be rolled / for special items
  195.  
  196.  
  197.  
  198.  
  199. --====== Open Sockets ======--
  200.  
  201. -- Open Sockets
  202. nonDB.Library.Global.AddAttribute("_os0",       1,      2,              true,   nil,    0,      nil,    "Open Sockets (%d)")
  203.  
  204.  
  205.  
  206. --====== Negative Attributes ======-- (cannot be rolled either)
  207.  
  208. -- -% Chance to find magic items
  209. nonDB.Library.Global.AddAttribute("_nmf",       1,      9999,   false,  nil,    0,      nil,    "-%d%% Better Chance of Getting Magic Item") -- cannot be rolled / for special items
  210.  
  211. -- -% Extra Cash Earned
  212. nonDB.Library.Global.AddAttribute("_ngf",       1,      9999,   false,  nil,    0,      nil,    "-%d%% Extra Cash Earned") -- cannot be rolled / for special items
  213.  
  214. -- -% Chance to find rare items
  215. nonDB.Library.Global.AddAttribute("_nrf",       1,      9999,   false,  nil,    0,      nil,    "-%d%% Better Chance of Getting Rare Item") -- cannot be rolled / for special items
  216.  
  217. -- - Extra Items Per Day
  218. nonDB.Library.Global.AddAttribute("_nei",       1,      9999,   false,  nil,    0,      nil,    "-%d Extra Items per Day") -- cannot be rolled / for special items
  219.  
  220. -- -% More Votes
  221. nonDB.Library.Global.AddAttribute("_nmv",       1,      9999,   false,  nil,    0,      nil,    "-%d%% More Voting Power") -- cannot be rolled / for special items
  222.  
  223. -- - Maximum Health
  224. nonDB.Library.Global.AddAttribute("_nmh",       1,      9999,   false,  nil,    0,      nil,    "-%d Maximum Health") -- cannot be rolled / for special items
  225.  
  226. -- -% Chance to find painted items
  227. nonDB.Library.Global.AddAttribute("_npf",       1,      9999,   false,  nil,    0,      nil,    "-%d%% Better Chance of Getting Painted Item") -- cannot be rolled / for special items
  228.  
  229. -- -% Higher Key Drop rate
  230. nonDB.Library.Global.AddAttribute("_nkd",       1,      9999,   false,  nil,    0,      nil,    "-%d%% Higher Drop Rate for Keys") -- cannot be rolled / for special items
  231.  
  232. -- -% Higher Fragment Drop rate
  233. nonDB.Library.Global.AddAttribute("_nfd",       1,      9999,   false,  nil,    0,      nil,    "-%d%% Higher Drop Rate for Fragments") -- cannot be rolled / for special items
  234.  
  235. -- - Increased Movespeed
  236. nonDB.Library.Global.AddAttribute("_nms",       1,      9999,   false,  nil,    0,      nil,    "-%d Increased Movespeed") -- cannot be rolled / for special items
  237.  
  238. -- - Health regenerated / second
  239. nonDB.Library.Global.AddAttribute("_nhr",       1,      9999,   false,  nil,    0,      nil,    "-%d HP regenerated every 5 seconds") -- cannot be rolled / for special items