Guest User

Bruiser

a guest
Oct 22nd, 2018
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*  -WHAT IS THIS?-
  2.     This file adds optional material to "MPMB's Character Record Sheet" found at https://flapkan.com/mpmb/charsheets
  3.     Import this file using the "Add Extra Materials" bookmark.
  4.  
  5.     -KEEP IN MIND-
  6.     It is recommended to enter the code in a fresh sheet before adding any other information (i.e. before making your character with it).
  7. */
  8.  
  9. /*  -INFORMATION-
  10.     Subject:    Subclass & Feat
  11.     Effect:     This script adds a subclass for the fighter, called "Bruiser"
  12.                 This is an edited version of  (https://media.wizards.com/2018/dnd/downloads/UA-3Subclasses0108.pdf) and is the version posted at 10th of July 2015
  13.                 This subclass is made by JayCulnis
  14.     Code by:    JayCulnis
  15.     Date:       10/8/2018 (sheet v12.999)
  16. */
  17.  
  18. var iFileName = "Bruiser.js";
  19. RequiredSheetVersion(12.999);
  20.  
  21. SourceList["UA:TS C"] = {
  22.     name : "Bruiser",
  23.     abbreviation : "JayCulnis",
  24.     group : "JayCulnis",
  25.     url : "https://media.wizards.com/2018/dnd/downloads/UA-3Subclasses0108.pdf",
  26.     date : "2015/07/10"
  27. };
  28.  
  29. var theCoD = AddSubClass("fighter", "bruiser",
  30. {
  31.     regExpSearch : /bruiser/i,
  32.     subname : "Bruiser",
  33.     source : ["JayCulnis", 0],
  34.     fullname : "Bruiser",
  35.     features :
  36.     {
  37.         "subclassfeature3" :
  38.         {
  39.             name : "Brute Force",
  40.             source : ["JayCulnis", 0],
  41.             minlevel : 3,
  42.             description : "\n   " + "I gain a number of Brutish Dice that i can use to do additional damage with weapons that I am proficient with" + "\n   " + "I regain all Brutish Dice after a short rest",
  43.             usages : [0, 0, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6],
  44.             recovery : "short rest"
  45.             additional : levels.map(function (n)
  46.             {
  47.                 return n < 3 ? "" : "+1d" + (n < 10 ? 4 : n < 16 ? 6 : n < 20 ? 8 : 10) + " weapon damage";
  48.             }),
  49.             calcChanges :
  50.             {
  51.                 atkAdd : ["if (classes.known.fighter && classes.known.fighter.level > 2 && !isSpell && !isNaturalWeapon && fields.Proficiency) {fields.Description += (fields.Description ? '; ' : '') + '+1d' + (classes.known.fighter.level < 10 ? 4 : classes.known.fighter.level < 16 ? 6 : classes.known.fighter.level < 20 ? 8 : 10) + ' damage'}; ", "I do +1d4 damage with weapons that I'm proficient with. This increases to 1d6 at 10th level, 1d8 at 16th level, and 1d10 at 20th level."]
  52.             }
  53.         },
  54.         "subclassfeature7" :
  55.         {
  56.             name : "Brutish Durability",
  57.             source : ["UA:TS", 2],
  58.             minlevel : 7,
  59.             description : desc
  60.             ([
  61.                 "I add +1d4 to all my Strength, Constitution, and death saving throws, including death saves",
  62.                 "If the total of a death save is 20 or more, it counts as rolling a 20"
  63.             ]),
  64.             savetxt : { text : ["Add 1d4 to all Strength, Dexterity, Constitution, and death saves"]}
  65.         },
  66.         "subclassfeature10" : function ()
  67.         {
  68.             var FSfea = newObj(Base_ClassList.fighter.features["fighting style"]);
  69.             FSfea.name = "Additional Fighting Style";
  70.             FSfea.source = ["UA:TS", 2];
  71.             FSfea.minlevel = 10;
  72.             FSfea.description = "\n   " + "Choose an Additional Fighting Style using the \"Choose Feature\" button above ";
  73.             return FSfea;
  74.         }(),
  75.         "subclassfeature15" :
  76.         {
  77.             name : "Devastating Critical",
  78.             source : ["UA:TS", 2],
  79.             minlevel : 15,
  80.             description : "\n   " + "Whenever I score a critical hit with a weapon, I add my fighter level to the total damage",
  81.             additional : levels.map(function (n) { return n < 15 ? "" : "+" + n + " damage on crit"; })
  82.         },
  83.        
  84.         "subclassfeature18" :
  85.         {
  86.             name : "Survivor",
  87.             source : ["UA:TS", 2],
  88.             minlevel : 18,
  89.             description : desc
  90.             ([
  91.                 "If I have less than half my max HP at the start of my turn, I heal myself",
  92.                 "I regain HP equal to 5 + Constitution modifier (min 1); This doesn't work if I'm at 0 HP"
  93.             ])
  94.         }
  95.     }
  96. });
Advertisement
Add Comment
Please, Sign In to add comment