/* -WHAT IS THIS?- |
This file adds optional material to 'MPMB's Character Record Sheet' found at [https://flapkan.com/mpmb/charsheets](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 Thunder' |
This is made by Kobold Press in their Midgard Heroes Handbook (https://koboldpress.com/kpstore/product/midgard-heroes-handbook-for-5th-edition-dnd-5e/) |
Code by: Fredicimo |
Date: 2018-08-04 (sheet v12.999) |
*/ |
var iFileName ='Paladin - Oath of Thunder [Kobold Press' work, code by Fredicimo].js'; |
RequiredSheetVersion(12.999); |
SourceList['KP-MHH-5E'] = { |
name :'Kobold Press - Midgard Heroes Handbook for 5th Edition', |
abbreviation :'KP-MHH-5E', |
group :'Kobold Press', |
url :'(https://koboldpress.com/kpstore/product/midgard-heroes-handbook-for-5th-edition-dnd-5e/)', |
date :'2018-03' |
}; |
AddSubClass('paladin', 'oath of thunder', { |
regExpSearch :/^((?=.*thunder)|((?=.*lightning)(((?=.*paladin)|((?=.*(exalted|sacred|holy|divine))(?=.*(knight|fighter|warrior|warlord|trooper))))))).*$/i, |
subname :'Oath of Thunder', |
source : ['KP-MHH-5E', 41], |
spellcastingExtra : ['heroism', 'thunderwave', 'find steed', 'gust of wind', 'call lightning', 'elemental weapon', 'freedom of movement', 'stoneskin', 'conjure volley', 'swift quiver'], |
features : { |
'subclassfeature3': { |
name :'Bonus Proficiency', |
source : ['KP-MHH-5E', 42], |
minlevel :3, |
description :desc([ |
'I gain proficiency in Stealth', |
]), |
skills : ['Stealth'], |
}, |
'subclassfeature3.1': { |
name :'Channel Divinity: Storm Strike', |
source : ['KP-MHH-5E', 42], |
minlevel :3, |
description :desc([ |
'As an action, I infuse a ranged or thrown weapon with lightning and make an attack', |
'I create a line of lightning 5 ft wide, 60 ft long, 2d10 + level lightning dmg, ', |
'half on Dex save. Target has disadv on save if the weapon attack hits', |
]), |
action : ['action', ''] |
}, |
'subclassfeature3.2': { |
name :'Channel Divinity: Turn the Unclean', |
source : ['KP-MHH-5E', 42], |
minlevel :3, |
description :desc([ |
'Each abberation or fiend within 30 ft must make a Wis saving throw or frightened for 1 min', |
]), |
action : ['action', ''] |
}, |
'subclassfeature7': { |
name :'Aura of Alacrity', |
source : ['KP-MHH-5E', 42], |
minlevel :7, |
description :'n'+'Allies within range add my proficiency bonus to Initiative rolls', |
additional : ['', '', '', '', '', '', '10-foot aura', '10-foot aura', '10-foot aura', '10-foot aura', '10-foot aura', '10-foot aura', '10-foot aura', '10-foot aura', '10-foot aura', '10-foot aura', '10-foot aura', '30-foot aura', '30-foot aura', '30-foot aura'], |
}, |
'subclassfeature15': { |
name :'Strike Like Lightning', |
source : ['KP-MHH-5E', 42], |
minlevel :15, |
description :desc([ |
'If I hit a target that hasn't taken its first turn of combat, or when I hit a target I was', |
'hidden from, they have disadv on attacks, checks, and saves until the start of my next turn', |
]), |
}, |
'subclassfeature20': { |
name :'Child of the Storm', |
source : ['KP-MHH-5E', 42], |
minlevel :20, |
description :desc([ |
'As an action, I can gain the following benefits for 1 hour:', |
' - I don't have disadvantage on Stealth checks because of armor', |
' - I have advantage on Stealth checks and initiative rolls', |
' - My weapon attacks deal and extra 1d10 lightning or thunder dmg, my choice', |
' - I can use an action to unleash a war cry that frightens on failed Wis save', |
' - The cry affects those in a 30 ft cone', |
' - Those that succeed on the save, can not be affected for 24 hours by another' |
]), |
recovery :'long rest', |
usages :1, |
action : ['action', ''] |
} |
} |
}); |