matthileo

Set Character Macro

May 5th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.27 KB | None | 0 0
  1. !! echo "";
  2.  
  3. newline = "
  4. ";
  5.  
  6. NOTE="This macro is too long for Discord. You must create a !setCharacter macro with a placeholder command and then paste this into it's token page. If you don't know how to do that, you probably shouldn't mess with this.";
  7.  
  8. IMPORTANT_README = "Run the commands between the quotes first manually, to create the tables that the macros use. DO NOT do this if you're already using any of these tables for existing macros!!!!";
  9.  
  10. comment = "!table create me bonus";
  11. comment = "!table create me text";
  12. comment = "!table create me level";
  13. comment = "!table create me feature";
  14. comment = "!table create me ability";
  15. comment = "!table create me phrase";
  16. comment = "!table create me weapon";
  17.  
  18. user.text["name"] = "Matthileo";
  19.  
  20. user.level["warlock"]=3;
  21. user.level["rogue"]=4;
  22. user.level["total"] = user.level["warlock"] + "+" + user.level["rogue"];
  23.  
  24. user.bonus["str"] = "-1";
  25. user.bonus["con"] = 1;
  26. user.bonus["int"] = 1;
  27. user.bonus["wis"] = 0;
  28. user.bonus["cha"] = 4;
  29. user.bonus["dex"] = 4;
  30. user.bonus["death"] = 0;
  31.  
  32. user.bonus["prof"] = 3;
  33. user.bonus["skills"] = 0;
  34. user.bonus["saves"] = 1;
  35.  
  36. user.feature["sneakAttackDice"]=2;
  37. user.feature["warlockSlotLevel"]=2;
  38. user.feature["cantripDice"]=2;
  39.  
  40. user.ability["acrobatics"] = user.bonus["dex"] + "+" + user.bonus["prof"]*2;
  41. user.ability["animal"] = user.bonus["wis"];
  42. user.ability["arcana"] = user.bonus["int"];
  43. user.ability["athletics"] = user.bonus["str"] + "+" + user.bonus["prof"]*2;
  44. user.ability["deception"] = user.bonus["cha"] + "+" + user.bonus["prof"];
  45. user.ability["history"] = user.bonus["int"];
  46. user.ability["insight"] = user.bonus["wis"] + "+" + user.bonus["prof"];
  47. user.ability["intimidation"] = user.bonus["cha"];
  48. user.ability["investigation"] = user.bonus["int"] + "+" + user.bonus["prof"];
  49. user.ability["medicine"] = user.bonus["wis"];
  50. user.ability["nature"] = user.bonus["int"];
  51. user.ability["perception"] = user.bonus["wis"] + "+" + user.bonus["prof"];
  52. user.ability["performance"] = user.bonus["cha"];
  53. user.ability["persuasion"] = user.bonus["cha"] + "+" + user.bonus["prof"];
  54. user.ability["religion"] = user.bonus["int"];
  55. user.ability["sleight"] = user.bonus["dex"];
  56. user.ability["stealth"] = user.bonus["dex"] + "+" + user.bonus["prof"];
  57. user.ability["survival"] = user.bonus["wis"];
  58. user.ability["str"] = user.bonus["str"];
  59. user.ability["con"] = user.bonus["con"];
  60. user.ability["int"] = user.bonus["int"];
  61. user.ability["wis"] = user.bonus["wis"];
  62. user.ability["cha"] = user.bonus["cha"];
  63. user.ability["dex"] = user.bonus["dex"];
  64. user.ability["init"] = user.bonus["dex"] + "+" + user.bonus["cha"];
  65. user.ability["initiative"] = user.ability["init"];
  66. user.ability["thief"] = user.bonus["dex"] + "+" + user.bonus["prof"];
  67. user.ability["poison"] = user.bonus["int"];
  68.  
  69. user.text["str"] = "Strength";
  70. user.text["con"] = "Constitution";
  71. user.text["int"] = "Intelligence";
  72. user.text["wis"] = "Wisdom";
  73. user.text["cha"] = "Charisma";
  74. user.text["dex"] = "Dexterity";
  75. user.text["death"] = "Death";
  76.  
  77. user.text["prof"] = "Proficiency";
  78. user.text["skills"] = "Skill Bonus";
  79. user.text["saves"] = "Saving Throw Bonus";
  80.  
  81. user.text["acrobatics"] = "Acrobatics";
  82. user.text["animal"] = "Animal Handling";
  83. user.text["arcana"] = "Arcana";
  84. user.text["athletics"] = "Athletics";
  85. user.text["deception"] = "Deception";
  86. user.text["history"] = "History";
  87. user.text["insight"] = "Insight";
  88. user.text["intimidation"] = "Intimidation";
  89. user.text["investigation"] = "Investigation";
  90. user.text["medicine"] = "Medicine";
  91. user.text["nature"] = "Nature";
  92. user.text["perception"] = "Perception";
  93. user.text["performance"] = "Performance";
  94. user.text["persuasion"] = "Persuasion";
  95. user.text["religion"] = "Religion";
  96. user.text["sleight"] = "Sleight of Hand";
  97. user.text["stealth"] = "Stealth";
  98. user.text["survival"] = "Survival";
  99. user.text["init"] = "Initiative";
  100. user.text["initiative"] = "Initiative";
  101. user.text["thief"] = "Thieves' Tools";
  102. user.text["poison"] = "Poisoner's Kit";
  103.  
  104. user.weapon["sword dice"] = 1;
  105. user.weapon["sword size"] = 8;
  106. user.weapon["sword type"] = "Slashing";
  107. user.weapon["sword ability"] = "dex";
  108. user.weapon["sword phrase"] = user.text["name"] + "'s shadow sword slices silently though the air at ";
  109.  
  110. user.weapon["longsword dice"] = 1;
  111. user.weapon["longsword size"] = 10;
  112. user.weapon["longsword type"] = "Slashing";
  113. user.weapon["longsword ability"] = "str";
  114. user.weapon["longsword phrase"] = user.text["name"] + "'s shadow sword slices though the air at ";
  115.  
  116. user.weapon["greatsword dice"] = 2;
  117. user.weapon["greatsword size"] = 6;
  118. user.weapon["greatsword type"] = "Slashing";
  119. user.weapon["greatsword ability"] = "str";
  120. user.weapon["greatsword phrase"] = user.text["name"] + " has trouble swinging the massive black sword at ";
  121.  
  122. user.weapon["rapier dice"] = 1;
  123. user.weapon["rapier size"] = 8;
  124. user.weapon["rapier type"] = "Slashing";
  125. user.weapon["rapier ability"] = "dex";
  126. user.weapon["rapier phrase"] = user.text["name"] + " thrusts the tip of his shadowy sword into ";
  127.  
  128. user.weapon["shortsword dice"] = 1;
  129. user.weapon["shortsword size"] = 6;
  130. user.weapon["shortsword type"] = "Piercing";
  131. user.weapon["shortsword ability"] = "dex";
  132. user.weapon["shortsword phrase"] = user.text["name"] + " thrusts the tip of his shadowy sword into ";
  133.  
  134. user.weapon["scimitar dice"] = 1;
  135. user.weapon["scimitar size"] = 6;
  136. user.weapon["scimitar type"] = "Slashing";
  137. user.weapon["scimitar ability"] = "dex";
  138. user.weapon["scimitar phrase"] = user.text["name"] + "'s shadow sword slices silently though the air at ";
  139.  
  140. user.weapon["dagger dice"] = 1;
  141. user.weapon["dagger size"] = 4;
  142. user.weapon["dagger type"] = "Piercing";
  143. user.weapon["dagger ability"] = "dex";
  144. user.weapon["dagger phrase"] = user.text["name"] + " sends the point of his shadowy weapon straight at ";
  145.  
  146. user.weapon["whip dice"] = 1;
  147. user.weapon["whip size"] = 4;
  148. user.weapon["whip type"] = "Slashing";
  149. user.weapon["whip ability"] = "dex";
  150. user.weapon["whip phrase"] = user.text["name"] + " slashes at the air, a wave of shadow lashing out at ";
  151.  
  152. user.weapon["hammer dice"] = 1;
  153. user.weapon["hammer size"] = 10;
  154. user.weapon["hammer type"] = "Bludgeoning";
  155. user.weapon["hammer ability"] = "str";
  156. user.weapon["hammer phrase"] = user.text["name"] + " smashes his blunted sword into ";
  157.  
  158. echo "Character " + user.text["name"] + " has been set up..."
Advertisement
Add Comment
Please, Sign In to add comment