Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* -WHAT IS THIS?-
- This file adds optional material to "MPMB's Character Record Sheet" found at https://flapkan.com/mpmb/charsheets
- Import this file using the "Add Extra Materials" bookmark.
- -KEEP IN MIND-
- It is recommended to enter the code in a fresh sheet before adding any other information (i.e. before making your character with it).
- */
- /* -INFORMATION-
- Subject: Subclass & Feat
- Effect: This script adds a subclass for the fighter, called "Bruiser"
- 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
- This subclass is made by JayCulnis
- Code by: JayCulnis
- Date: 10/8/2018 (sheet v12.999)
- */
- var iFileName = "Bruiser.js";
- RequiredSheetVersion(12.999);
- SourceList["UA:TS C"] = {
- name : "Bruiser",
- abbreviation : "JayCulnis",
- group : "JayCulnis",
- url : "https://media.wizards.com/2018/dnd/downloads/UA-3Subclasses0108.pdf",
- date : "2015/07/10"
- };
- var theCoD = AddSubClass("fighter", "bruiser",
- {
- regExpSearch : /bruiser/i,
- subname : "Bruiser",
- source : ["JayCulnis", 0],
- fullname : "Bruiser",
- features :
- {
- "subclassfeature3" :
- {
- name : "Brute Force",
- source : ["JayCulnis", 0],
- minlevel : 3,
- 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",
- usages : [0, 0, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6],
- recovery : "short rest"
- additional : levels.map(function (n)
- {
- return n < 3 ? "" : "+1d" + (n < 10 ? 4 : n < 16 ? 6 : n < 20 ? 8 : 10) + " weapon damage";
- }),
- calcChanges :
- {
- 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."]
- }
- },
- "subclassfeature7" :
- {
- name : "Brutish Durability",
- source : ["UA:TS", 2],
- minlevel : 7,
- description : desc
- ([
- "I add +1d4 to all my Strength, Constitution, and death saving throws, including death saves",
- "If the total of a death save is 20 or more, it counts as rolling a 20"
- ]),
- savetxt : { text : ["Add 1d4 to all Strength, Dexterity, Constitution, and death saves"]}
- },
- "subclassfeature10" : function ()
- {
- var FSfea = newObj(Base_ClassList.fighter.features["fighting style"]);
- FSfea.name = "Additional Fighting Style";
- FSfea.source = ["UA:TS", 2];
- FSfea.minlevel = 10;
- FSfea.description = "\n " + "Choose an Additional Fighting Style using the \"Choose Feature\" button above ";
- return FSfea;
- }(),
- "subclassfeature15" :
- {
- name : "Devastating Critical",
- source : ["UA:TS", 2],
- minlevel : 15,
- description : "\n " + "Whenever I score a critical hit with a weapon, I add my fighter level to the total damage",
- additional : levels.map(function (n) { return n < 15 ? "" : "+" + n + " damage on crit"; })
- },
- "subclassfeature18" :
- {
- name : "Survivor",
- source : ["UA:TS", 2],
- minlevel : 18,
- description : desc
- ([
- "If I have less than half my max HP at the start of my turn, I heal myself",
- "I regain HP equal to 5 + Constitution modifier (min 1); This doesn't work if I'm at 0 HP"
- ])
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment