Guest User

Paladin-Oath of Justice

a guest
May 4th, 2023
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.79 KB | None | 0 0
  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. -KEEP IN MIND-
  5. It is recommended to enter the code in a fresh sheet before adding any other information (i.e. before making your character with it).
  6. */
  7.  
  8. /* -INFORMATION-
  9. Subject: Subclass
  10. Effect: This script adds a subclass for the paladin, called "Oath of Justice"
  11. These are taken from the Tome of Heroes published by Kobold Press and is the version printed as of 2022
  12. Code by: dino4migravy
  13. Date: 2023-04-01 (sheet v12.999)
  14. */
  15.  
  16. var iFileName = "Paladin - Oath of Justice.js";
  17. SourceList.Z = {
  18. name : "Tome of Heroes",
  19. abbreviation : "ToH",
  20. abbreviationSpellsheet : "ToH",
  21. group : "Primary Sources",
  22. date : "2022"
  23. };
  24.  
  25. // Add the subclasses that are presented in Tome of Heroes
  26. AddSubClass("paladin", "oath of justice", {
  27. regExpSearch : /^(((?=.*(justice|order))((?=.*paladin)|((?=.*(exalted|sacred|holy|divine))(?=.*(knight|fighter|warrior|warlord|trooper)))))|((?=.*dark)(?=.*knight))|(?=.*avenger)).*$/i,
  28. subname : "Oath of Justice",
  29. source : ["Z", 98],
  30. features : {
  31. "subclassfeature3" : {
  32. name : "Channel Divinity: Tether of Rightenousness",
  33. source : ["Z", 99],
  34. minlevel : 3,
  35. description : desc([
  36. "As an action, I can tether a creature I can see within 30ft of me forcing",
  37. "it to make a Dex saving throw. On a failure, it can't move more than 30ft",
  38. "away from me for 1 minute. The target also takes lightning damage equal to",
  39. "my Cha (minimum of 1) at the end of each of its turns. I can use an action",
  40. "to make a Str (Athletics) check opposed by the tethered creature's Str",
  41. "(Athletics) or Dex (Acrobatics) (creature's choice). On a success, I pull",
  42. "the creature up to 15ft in a straight line toward me. As an action the",
  43. "tethered creature can make a Str check against my spell save DC, breaking",
  44. "free on a success."
  45. ]),
  46. spellcastingExtra : ["color spray", "guiding bolt", "locate object", "zone of truth", "lightning bolt", "slow", "faithful hound", "locate creature", "arcane hand", "hold monster"],
  47. action : [["action", " (attach tether)"], ["action", " (pull in)"]]
  48. },
  49. "subclassfeature3.1" : {
  50. name : "Channel Divinity: Justicar's Celerity",
  51. source : ["Z", 99],
  52. minlevel : 3,
  53. description : desc([
  54. "When a creature that I can see is attacked, I can move up to my speed as a",
  55. "reaction. If I end my movement within 5ft of the attacker, I can make one melee",
  56. "attack afainst it as part of this reaction. If I end my movement within 5ft of",
  57. "the target of the attack, I can become the target of the attack instead as part",
  58. "of this reaction."
  59. ]),
  60. action : ["reaction", ""]
  61. },
  62. "subclassfeature7" : {
  63. name : "Disciplined Pursuant",
  64. source : ["Z", 99],
  65. minlevel : 7,
  66. description : desc([
  67. "When I reduce a creature to 0 hit points with a spell or Divine Smite, I can",
  68. "choose to knock out the creature instead of killing it, knocking it unconscious",
  69. "but stable. Once per turn, when I deal radiant damage to a creature, I can force",
  70. "it to succeed a Constitution saving throw or have its speed halved until the end of",
  71. "its next turn. If I deal radiant damage to more than one creature in a turn, I must",
  72. "choose one to suffer this effect."
  73. ])
  74. },
  75. "subclassfeature15" : {
  76. name : "Shackles of Light",
  77. source : ["Z", 99],
  78. minlevel : 15,
  79. description : desc([
  80. "Once per turn when I deal radiant damage, the target must make a Con saving throw or",
  81. "be restrained until the end of its next turn. If the radiant damage targets more than",
  82. "one creature I must choose one to be affected by this feature and can be different",
  83. "than the target of my Disciplined Pursuant feature."
  84. ]),
  85. action : ["bonus action", ""]
  86. },
  87. "subclassfeature20" : {
  88. name : "Avatar of Perfect Order",
  89. source : ["Z", 99],
  90. minlevel : 20,
  91. description : desc([
  92. "As an action I can become the epitome of perfect order (see page 3 notes)."
  93. ]),
  94. recovery : "long rest",
  95. usages : 1,
  96. action : [["action", ""], ["reaction", " (force diff. action)"]],
  97. toNotesPage : [{
  98. name : "Avatar of Perfect Order",
  99. source : ["Z", 99],
  100. minlevel : 20,
  101. page3notes : true,
  102. note : [
  103. " \u2022 Immune to bludgeoning, piercing, and slashing damage",
  104. " \u2022 Can use Justicar's Celerity feature without expending Channle Divinity",
  105. " \u2022 When a creature I can see takes the Attack or Cast a Spell actions, I",
  106. " can use my reaction to force it to make a Wis saving throw, forcing it to take",
  107. " a different action on a failure"
  108. ]
  109. }]
  110. }
  111. }
  112. });
  113.  
Advertisement
Add Comment
Please, Sign In to add comment