Xanjaycof

Angel Class for MPMB's Sheet

Jan 1st, 2021 (edited)
1,132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var iFileName = "Homebrew Syntax - Angel Class (Request by u/RaikamiKojin).js";
  2. RequiredSheetVersion(13);
  3.  
  4. ClassList["angel"] = {
  5.  
  6.     name : "Angel",
  7.  
  8.     regExpSearch : /^(?=.*angel).*$/i,
  9.  
  10.     source : ["HB", 0],
  11.  
  12.     primaryAbility : "Wisdom",
  13.  
  14.     prereqs : "Cannot be multiclassed.",
  15.  
  16.     die : 10,
  17.  
  18.     improvements : [0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5],
  19.  
  20.     saves : ["Wis", "Cha"],
  21.  
  22.     skills : ["\n\n" + toUni("Angel") + ": Choose two from Animal Handling, Arcana, History, Insight, Intimidation, Medicine, Perception, Persuasion, and Religion.", "\n\n" + toUni("Angel") + ": No skills gained."],
  23.  
  24.     armor : [
  25.         [true, true, false, true],
  26.         [false, false, false, false]
  27.     ],
  28.  
  29.     weapons : [
  30.         [true, false, false],
  31.         [false, false, false]
  32.     ],
  33.  
  34.     equipment : "Angel starting equipment:\n \u2022 A simple melee weapon and a shield -or- a simple ranged weapon and 20 pieces of ammunition -or- two simple melee weapons;\n \u2022 A priest's pack -or- an explorer's pack;\n \u2022 Chain mail and a holy symbol;\n \u2022 A healer's kit.\n\nAlternatively, choose 4d4 \xD7 10 gp worth of starting equipment instead of both the class' and the background's starting equipment.",
  35.  
  36.     subclasses : ["Angelic Domain", [""]],
  37.  
  38.     attacks : [1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
  39.  
  40.     abilitySave : 5,
  41.  
  42.     spellcastingTable : [
  43.         [0, 0, 0, 0, 0, 0, 0, 0, 0], //lvl 0
  44.         [0, 0, 0, 0, 0, 0, 0, 0, 0], //lvl 1
  45.         [2, 0, 0, 0, 0, 0, 0, 0, 0], //lvl 2
  46.         [3, 0, 0, 0, 0, 0, 0, 0, 0], //lvl 3
  47.         [3, 0, 0, 0, 0, 0, 0, 0, 0], //lvl 4
  48.         [4, 2, 0, 0, 0, 0, 0, 0, 0], //lvl 5
  49.         [4, 2, 0, 0, 0, 0, 0, 0, 0], //lvl 6
  50.         [4, 3, 0, 0, 0, 0, 0, 0, 0], //lvl 7
  51.         [4, 3, 0, 0, 0, 0, 0, 0, 0], //lvl 8
  52.         [4, 3, 2, 0, 0, 0, 0, 0, 0], //lvl 9
  53.         [4, 3, 2, 0, 0, 0, 0, 0, 0], //lvl10
  54.         [4, 3, 3, 0, 0, 0, 0, 0, 0], //lvl11
  55.         [4, 3, 3, 0, 0, 0, 0, 0, 0], //lvl12
  56.         [4, 3, 3, 1, 0, 0, 0, 0, 0], //lvl13
  57.         [4, 3, 3, 1, 0, 0, 0, 0, 0], //lvl14
  58.         [4, 3, 3, 2, 0, 0, 0, 0, 0], //lvl15
  59.         [4, 3, 3, 2, 0, 0, 0, 0, 0], //lvl16
  60.         [4, 3, 3, 3, 1, 0, 0, 0, 0], //lvl17
  61.         [4, 3, 3, 3, 1, 0, 0, 0, 0], //lvl18
  62.         [4, 3, 3, 3, 2, 0, 0, 0, 0], //lvl19
  63.         [4, 3, 3, 3, 2, 0, 0, 0, 0] //lvl20
  64.     ],
  65.  
  66.     spellcastingKnown : {
  67.  
  68.         cantrips : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  69.  
  70.         spells : [0, 2, 3, 3, 6, 6, 7, 7, 9, 9, 10, 10, 11, 11, 12, 12, 14, 14, 15, 15],
  71.  
  72.         prepared : true,
  73.  
  74.     },
  75.  
  76.     spellcastingList : {
  77.  
  78.         class : "cleric",
  79.     },
  80.  
  81.     features : {
  82.  
  83.         "immortal nature" : {
  84.             name : "Immortal Nature",
  85.             source : ["HB", 0],
  86.             minlevel : 1,
  87.             description : "\n   " + "My creature type is now celestial and I no longer age, and I don't require food, water, or sleep. I do however need to rest daily to retain this celestial strength through a prayer of contemplation with my deity. During a long rest, I need to spend at least 4 hours praying to my deity. I don't need to rest for the remainder of the rest, but if I do anything more complex or demanding than light activity, I suffer all the effects of not completing a long rest.",
  88.         },
  89.  
  90.         "wings" : {
  91.             name : "Wings",
  92.             source : ["HB", 0],
  93.             minlevel : 1,
  94.             description : "\n   " + "I grow a pair of wings as part of becoming an angel. When I'm subject to fall damage, I can reduce the damage by a number equal to 5 times my angel level. These wings are incorporeal and translucent, emitting a faint glow. At 6th level, I gain a flying movement speed equal to half my walking movement speed, but I need to end this movement on land, or else I will fall. I can take the Dash action to move double of this distance. At 14th level, my movement speed with my wings become equal to my walking movement speed, and I no longer need to end my movement on the ground. If I have any form of racial flying movement speed, I add 10 feet to to my racial movement.",
  95.             additional : ["5 damage", "10 damage", "15 damage", "20 damage", "25 damage", "30 damage", "35 damage", "40 damage", "45 damage", "50 damage", "55 damage", "60 damage", "65 damage", "70 damage", "75 damage", "80 damage", "85 damage", "90 damage", "95 damage", "100 damage"],
  96.         },
  97.  
  98.         "subclassfeature1" : {
  99.             name : "Angelic Domain",
  100.             source : ["HB", 0],
  101.             minlevel : 1,
  102.             description : "\n   " + "I choose an Angelic Domain, pushing me to follow a core trait from the following: Protector, Avenger, or The Reaper.",
  103.         },
  104.  
  105.         "glowing radiance" : {
  106.             name : "Glowing Radiance",
  107.             source : ["HB", 0],
  108.             minlevel : 2,
  109.             description : "\n   " + "My unnaturally holy form gives off a slight glow that I can ignite and extinguish as a bonus action on my turn. This radiance glows a 10 foot aura of bright light with an additional 10 foot aura of dim light beyond it. Additionally, when the bright portion of my light contacts magical darkness, I can use my action to try to dispel it. I must make an ability check using my spellcasting ability (The DC being 10 + the spell’s level), and, on a success, the spell causing the magical darkness is dispelled.",
  110.             action : ["bonus action"]
  111.         },
  112.  
  113.         "voice of authority" : {
  114.             name : "Voice of Authority",
  115.             source : ["HB", 0],
  116.             minlevel : 6,
  117.             description : "\n   " + "I gain proficiency in Persuasion and Intimidation. If I already have proficiency in one or both of these skills, I can add double my proficiency bonus to any check made with these skills. Additionally, I have advantage on any Charisma based check to interact with good-aligned creatures.",
  118.             skills : ["Persuasion", "Intimidation"],
  119.         },
  120.  
  121.         "angelic weapons" : {
  122.             name : "Angelic Weapons",
  123.             source : ["HB", 0],
  124.             minlevel : 6,
  125.             description : "\n   " + "All weapon attacks I make are now considered magical for the purposes of overcoming resistances and immunities to nonmagical piercing, slashing, and bludgeoning damage regardless of whether or not the weapon itself is magical. Additionally, at 14th level, my weapon attacks now deal additional radiant damage equal to my Wisdom modifier.",
  126.         },
  127.  
  128.         "healing touch" : {
  129.             name : "Healing Touch",
  130.             source : ["HB", 0],
  131.             minlevel : 9,
  132.             description : "\n   " + "As an action, I touch a willing creature and restore a number of hit points equal to my angel level times 2. I also rid the target of any poison, disease, blindness, or deafness. I can use this feature once between long rests. At 15th level, it restores a number of hit points equal to 3 times my angel level. In addition, I can use my bonus action to touch a creature, curing it from the paralyzed, stunned, petrified and poisoned condition. If more than one condition affects the target, I must choose which one I want to end.",
  133.             additional : ["", "", "", "", "", "", "", "", "18 HP", "20 HP", "22 HP", "24 HP", "26 HP", "28 HP", "30 HP", "32 HP", "34 HP", "36 HP", "38 HP", "40 HP"],
  134.             recovery : "long rest",
  135.             action : ["action"],
  136.         },
  137.  
  138.         "magic resistance" : {
  139.             name : "Magic Resistance",
  140.             source : ["HB", 0],
  141.             minlevel : 10,
  142.             description : "\n   " + "I now have advantage on all saving throws against spells and other magical effects.",
  143.         },
  144.  
  145.         "divine awareness" : {
  146.             name : "Divine Awarness",
  147.             source : ["HB", 0],
  148.             minlevel : 11,
  149.             description : "\n   " + "I will always know if I hear a lie from a humanoid creature. In addition, I have advantage on all Wisdom checks to perceive a lie. Also, I now have the zone of truth spell permanently prepared and does not count against my number of prepared spells. I can cast this spell without expending a spell slot a number of times equal to my Charisma modifier. I regain all expended uses when I finish a long rest.",
  150.             spellcastingExtra : ["zone of truth"],
  151.         },
  152.  
  153.         "supernatural senses" : {
  154.             name : "Supernatural Senses",
  155.             source : ["HB", 0],
  156.             minlevel : 13,
  157.             description : "\n   " + "I gain Darkvision out to a range of 120 feet. In addition, I can add half of my proficiency modifier in all Wisdom checks I'm not already proficient with.",
  158.             vision : [["Darkvision", 120]],
  159.         },
  160.  
  161.         "my last testament" : {
  162.             name : "My Last Testament",
  163.             source : ["HB", 0],
  164.             minlevel : 17,
  165.             description : "\n   " + "My soul can never be trapped or ravaged in any way, regardless of how I died or what killed me. Upon death, my essence engulfs the target that killed me, or if unavailable, the next closest enemy, in bright radiant energy. The engulfed target must succeed on a Constitution saving throw taking 14d6 radiant damage on a failed save or half as much on a successful save. Whether the target succeeds or not, my essence then disperses and returns to the Upper Planes.",
  166.         },
  167.  
  168.         "foresight" : {
  169.             name : "Foresight",
  170.             source : ["HB", 0],
  171.             minlevel : 18,
  172.             description : "\n   " + "When a creature makes an attack roll against me, I can expend my reaction to force the attack roll to be made at disadvantage and I cannot be surprised. Additionally, my Truesight extends to 120 feet.",
  173.             vision : [["Truesight", 120]],
  174.             action : ["reaction"],
  175.         },
  176.  
  177.         "deity's favor" : {
  178.             name : "Deity's Favor",
  179.             source : ["HB", 0],
  180.             minlevel : 20,
  181.             description : "\n   " + "My Charisma increases by 4 as does my maximum for that ability. Also, I can cast plane shift at will, targeting only myself, and I can only travel to the Upper Plane where my Deity resides and back to the Material Plane.",
  182.             scores : [0, 0, 0, 0, 0, 4],
  183.             spellcastingExtra : ["plane shift"],
  184.         },
  185.     }
  186. }
  187.  
  188. AddSubClass(
  189.  
  190.     "angel",
  191.  
  192.     "protector",
  193.  
  194.     {
  195.  
  196.         regExpSearch : /^(?=.*protector).*$/i,
  197.  
  198.         subname : "Protector",
  199.  
  200.         source : ["HB", 0],
  201.  
  202.         fullname : "Protector Angel",
  203.  
  204.         features : {
  205.  
  206.             "subclassfeature1" : {
  207.                 name : "Mending Touch",
  208.                 source : ["HB", 0],
  209.                 minlevel : 1,
  210.                 description : "\n   " + "I learn the spell spare the dying, and I can cast it as a bonus action on my turn. When I cast this spell, I heal 1 hit point of a creature the first time I cast this on it. After restoring hit points of a creature in that manner, I can't do it again until that creature completes a short or a long rest.",
  211.                 action : ["bonus action"],
  212.                 spellcastingExtra : ["spare the dying"],
  213.             },
  214.             "subclassfeature3" : {
  215.                 name : "Guardian Angel",
  216.                 source : ["HB", 0],
  217.                 minlevel : 3,
  218.                 description : "\n   " + "Whenever I use my action to cast a spell of 1st or 2nd level that restores hit points, the healed creature becomes resistant to all types of damage until the start of my next turn.",
  219.             },
  220.             "subclassfeature7" : {
  221.                 name : "Blessed Vigor",
  222.                 source : ["HB", 0],
  223.                 minlevel : 7,
  224.                 description : "\n   " + "As an action, I can give one willing friendly creature 1d10 temporary hit points, which increases with level. This may be done once every short rest.",
  225.                 additional : ["", "", "", "", "", "", "1d10", "1d10", "1d10", "1d10", "1d10", "1d10", "1d10", "2d10", "2d10", "2d10", "3d10", "3d10", "3d10", "3d10"],
  226.                 recovery : "short rest",
  227.                 action : ["action"],
  228.             },
  229.             "subclassfeature14" : {
  230.                 name : "Hands of the Cure",
  231.                 source : ["HB", 0],
  232.                 minlevel : 14,
  233.                 description : "\n   " + "I can cast lesser restoration, healing word, and cure wounds without using a spell slot. Each spell can be cast a number of times equal to 1 + my Wisdom modifier per long rest.",
  234.                 spellcastingExtra : ["lesser restoration", "healing word", "cure wounds"],
  235.             },
  236.             "subclassfeature17" : {
  237.                 name : "Restorative Light",
  238.                 source : ["HB", 0],
  239.                 minlevel : 17,
  240.                 description : "\n   " + "I may add a 1d10 to all healing done, and I can cast power word heal once per long rest.",
  241.                 spellcastingExtra : ["power word heal"],
  242.             },
  243.         }
  244.     }
  245. );
  246.  
  247. AddSubClass(
  248.  
  249.     "angel",
  250.  
  251.     "avenger",
  252.  
  253.     {
  254.  
  255.         regExpSearch : /^(?=.*avenger).*$/i,
  256.  
  257.         subname : "Avenger",
  258.  
  259.         source : ["HB", 0],
  260.  
  261.         fullname : "Angel Avenger",
  262.  
  263.         features : {
  264.  
  265.             "subclassfeature1" : {
  266.                 name : "Militant Angel",
  267.                 source : ["HB", 0],
  268.                 minlevel : 1,
  269.                 description : "\n   " + "I gain proficiency in martial weapons. In addition, I can choose a fighting style from the \"Choose Feature\" button above.",
  270.                 choices : ["Archery", "Defense", "Dueling", "Great Weapon Fighting", "Protection", "Two-Weapon Fighting"],
  271.                 choicesNotInMenu : false,
  272.                 "archery" : {
  273.                     name : "Archery Fighting Style",
  274.                     description : "\n   " + "I gain a +2 bonus to attack rolls I make with ranged weapons.",
  275.                     weaponprofs : [false, true, false],
  276.                 },
  277.  
  278.                 "defense" : {
  279.                     name : "Defense Fighting Style",
  280.                     description : "\n   " + "While I'm wearing armor, I gain a +1 bonus to my AC.",
  281.                     weaponprofs : [false, true, false],
  282.                 },
  283.  
  284.                 "dueling" : {
  285.                     name : "Dueling Fighting Style",
  286.                     description : "\n   " + "When I'm wielding a melee weapon in one hand and no other weapons, I gain a +2 bonus to damage rolls with that weapon.",
  287.                     weaponprofs : [false, true, false],
  288.                 },
  289.  
  290.                 "great weapon fighting" : {
  291.                     name : "Great Weapon Fighting Style",
  292.                     description : "\n   " + "Reroll 1 or 2 on damage if wielding two-handed/versatile melee weapon in both hands",
  293.                     weaponprofs : [false, true, false],
  294.                 },
  295.  
  296.                 "protection" : {
  297.                     name : "Protection Fighting Style",
  298.                     description : "\n   " + "As a reaction, I can give disadv. on an attack made vs. someone within 5 ft of me" + "\n   " + "I need to be wielding a shield and be able to see the attacker to do this",
  299.                     weaponprofs : [false, true, false],
  300.                     action : ["reaction"]
  301.                 },
  302.  
  303.                 "two-weapon fighting" : {
  304.                     name : "Two-Weapon Fighting Style",
  305.                     description : "\n   " + "I can add my ability modifier to the damage of my off-hand attacks",
  306.                     weaponprofs : [false, true, false],
  307.                 },
  308.             },
  309.             "subclassfeature3" : {
  310.                 name : "Divine Rage",
  311.                 source : ["HB", 0],
  312.                 minlevel : 3,
  313.                 description : "\n   " + "Whenever I cast a spell of 1st or 2nd level that deals fire or radiant damage, the target takes the same amount of damage on its next turn. If the spell targets multiple opponents, I must choose one to be affected by this feature.",
  314.             },
  315.             "subclassfeature7" : {
  316.                 name : "Sacred Fire",
  317.                 source : ["HB", 0],
  318.                 minlevel : 7,
  319.                 description : "\n   " + "I can imbue my weapon with holy fire, adding 1d6 damage to all attacks for 3 turns. This damage increases with level. This feature can only be (1 + Wisdom modifier) per long rest.",
  320.                 additional : ["", "", "", "", "", "", "1d6", "1d6", "1d6", "1d6", "1d6", "1d6", "1d6", "2d6", "2d6", "2d6", "3d6", "3d6", "3d6", "3d6"],
  321.             },
  322.             "subclassfeature14" : {
  323.                 name : "Divine Destruction",
  324.                 source : ["HB", 0],
  325.                 minlevel : 14,
  326.                 description : "\n   " + "I can cast staggering smite and flame strike without using a spell slot. Each spell can be cast a number of times equal to 1 + my Wisdom modifier per long rest.",
  327.                 spellcastingExtra : ["staggering smite", "flame strike"],
  328.             },
  329.             "subclassfeature17" : {
  330.                 name : "Holy Avenger",
  331.                 source : ["HB", 0],
  332.                 minlevel : 17,
  333.                 description : "\n   " + "My AC increases by 1, and I can add a 1d4 to all damage dice. Once per dat, when reaching 0 HP, I can come back at half of my character's maximum hit points.",
  334.             },
  335.         }
  336.     }
  337. );
  338.  
  339. AddSubClass(
  340.  
  341.     "angel",
  342.  
  343.     "the reaper",
  344.  
  345.     {
  346.  
  347.         regExpSearch : /^(?=.*the)(?=.*reaper).*$/i,
  348.  
  349.         subname : "The Reaper",
  350.  
  351.         source : ["HB", 0],
  352.  
  353.         fullname : "Angel Reaper",
  354.  
  355.         features : {
  356.  
  357.             "subclassfeature1" : {
  358.                 name : "Drain Vitality",
  359.                 source : ["HB", 0],
  360.                 minlevel : 1,
  361.                 description : "\n   " + "When I drain the nearby dead, I regenerate 1d4 HP per body. The amount of health I gain increases with level. I can use this feature a number of times equal to 2 + my Wisdom modifier before being unable to do so until I finish a long rest.",
  362.                 additional : ["1d4", "1d4", "1d4", "1d4", "1d4", "1d4", "2d4", "2d4", "2d4", "2d4", "2d4", "2d4", "2d4", "3d4", "3d4", "3d4", "4d4", "4d4", "4d4", "4d4"],
  363.             },
  364.             "subclassfeature3" : {
  365.                 name : "Sip Life Force",
  366.                 source : ["HB", 0],
  367.                 minlevel : 3,
  368.                 description : "\n   " + "Whenever I cast a spell of 1st or 2nd level that deals necrotic or poison damage, the target has disadvantage on its next attack roll, ability check, or saving throw it makes before the start of my next turn.",
  369.             },
  370.             "subclassfeature7" : {
  371.                 name : "Undead Servant",
  372.                 source : ["HB", 0],
  373.                 minlevel : 7,
  374.                 description : "\n   " + "I can cast animate dead without using a spell slot. This spell can be cast a number of times equal to 1 + half my Wisdom modifier per long rest.",
  375.                 spellcastingExtra : ["animate dead"],
  376.             },
  377.             "subclassfeature14" : {
  378.                 name : "Grim Reaper",
  379.                 source : ["HB", 0],
  380.                 minlevel : 14,
  381.                 description : "\n   " + "When making a weapon attack, I may add 2d10 necrotic damage to it, and I regenerate HP equal to half of the damage done, rounded down. The damage increases with level. This feature can be used a number of time equal to 2 + my proficiency bonus per short or long rest.",
  382.                 additional : ["", "", "", "", "", "", "", "", "", "", "", "", "", "2d10", "2d10", "2d10", "3d10", "3d10", "3d10", "3d10"],
  383.             },
  384.             "subclassfeature17" : {
  385.                 name : "Avatar of Death",
  386.                 source : ["HB", 0],
  387.                 minlevel : 17,
  388.                 description : "\n   " + "If a creature ends its turn within 5 ft. of me, it must succeed on a Constitution saving throw or lose HP equal to 6d6 + my proficiency bonus + my Wisdom modifier. I gain hit points equal to half the hit points the creature lost, rounded up.",
  389.             },
  390.         }
  391.     }
  392. );
Add Comment
Please, Sign In to add comment