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
- Effect: This script adds a subclass for the paladin, called "Oath of Justice"
- These are taken from the Tome of Heroes published by Kobold Press and is the version printed as of 2022
- Code by: dino4migravy
- Date: 2023-04-01 (sheet v12.999)
- */
- var iFileName = "Paladin - Oath of Justice.js";
- SourceList.Z = {
- name : "Tome of Heroes",
- abbreviation : "ToH",
- abbreviationSpellsheet : "ToH",
- group : "Primary Sources",
- date : "2022"
- };
- // Add the subclasses that are presented in Tome of Heroes
- AddSubClass("paladin", "oath of justice", {
- regExpSearch : /^(((?=.*(justice|order))((?=.*paladin)|((?=.*(exalted|sacred|holy|divine))(?=.*(knight|fighter|warrior|warlord|trooper)))))|((?=.*dark)(?=.*knight))|(?=.*avenger)).*$/i,
- subname : "Oath of Justice",
- source : ["Z", 98],
- features : {
- "subclassfeature3" : {
- name : "Channel Divinity: Tether of Rightenousness",
- source : ["Z", 99],
- minlevel : 3,
- description : desc([
- "As an action, I can tether a creature I can see within 30ft of me forcing",
- "it to make a Dex saving throw. On a failure, it can't move more than 30ft",
- "away from me for 1 minute. The target also takes lightning damage equal to",
- "my Cha (minimum of 1) at the end of each of its turns. I can use an action",
- "to make a Str (Athletics) check opposed by the tethered creature's Str",
- "(Athletics) or Dex (Acrobatics) (creature's choice). On a success, I pull",
- "the creature up to 15ft in a straight line toward me. As an action the",
- "tethered creature can make a Str check against my spell save DC, breaking",
- "free on a success."
- ]),
- spellcastingExtra : ["color spray", "guiding bolt", "locate object", "zone of truth", "lightning bolt", "slow", "faithful hound", "locate creature", "arcane hand", "hold monster"],
- action : [["action", " (attach tether)"], ["action", " (pull in)"]]
- },
- "subclassfeature3.1" : {
- name : "Channel Divinity: Justicar's Celerity",
- source : ["Z", 99],
- minlevel : 3,
- description : desc([
- "When a creature that I can see is attacked, I can move up to my speed as a",
- "reaction. If I end my movement within 5ft of the attacker, I can make one melee",
- "attack afainst it as part of this reaction. If I end my movement within 5ft of",
- "the target of the attack, I can become the target of the attack instead as part",
- "of this reaction."
- ]),
- action : ["reaction", ""]
- },
- "subclassfeature7" : {
- name : "Disciplined Pursuant",
- source : ["Z", 99],
- minlevel : 7,
- description : desc([
- "When I reduce a creature to 0 hit points with a spell or Divine Smite, I can",
- "choose to knock out the creature instead of killing it, knocking it unconscious",
- "but stable. Once per turn, when I deal radiant damage to a creature, I can force",
- "it to succeed a Constitution saving throw or have its speed halved until the end of",
- "its next turn. If I deal radiant damage to more than one creature in a turn, I must",
- "choose one to suffer this effect."
- ])
- },
- "subclassfeature15" : {
- name : "Shackles of Light",
- source : ["Z", 99],
- minlevel : 15,
- description : desc([
- "Once per turn when I deal radiant damage, the target must make a Con saving throw or",
- "be restrained until the end of its next turn. If the radiant damage targets more than",
- "one creature I must choose one to be affected by this feature and can be different",
- "than the target of my Disciplined Pursuant feature."
- ]),
- action : ["bonus action", ""]
- },
- "subclassfeature20" : {
- name : "Avatar of Perfect Order",
- source : ["Z", 99],
- minlevel : 20,
- description : desc([
- "As an action I can become the epitome of perfect order (see page 3 notes)."
- ]),
- recovery : "long rest",
- usages : 1,
- action : [["action", ""], ["reaction", " (force diff. action)"]],
- toNotesPage : [{
- name : "Avatar of Perfect Order",
- source : ["Z", 99],
- minlevel : 20,
- page3notes : true,
- note : [
- " \u2022 Immune to bludgeoning, piercing, and slashing damage",
- " \u2022 Can use Justicar's Celerity feature without expending Channle Divinity",
- " \u2022 When a creature I can see takes the Attack or Cast a Spell actions, I",
- " can use my reaction to force it to make a Wis saving throw, forcing it to take",
- " a different action on a failure"
- ]
- }]
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment