Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var iFileName = "Bard- College of the Whistlers[by Domannaa].js";
- RequiredSheetVersion(12.999);
- AddSubClass("bard", "college of the whistlers", {
- regExpSearch : /^(?=.*\bwhistler?\b).*$/i,
- subname : "College of the Whistlers",
- fullname : "Whistler",
- source : ["HB", 0],
- attacks : [1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
- features : {
- "subclassfeature3" : {
- name : "Sword of the Little Folk",
- source : ["HB", 0],
- minlevel : 3,
- description : desc([
- "When I wield a simple weapon, I can use my Bardic Inspiration die",
- "This replaces the damage dice of the weapon"
- ]),
- calcChanges : {
- atkAdd : [
- function (fields, v) {
- if (classes.known.bard && classes.known.bard.level && (/simple/i).test(v.theWea.type)) {
- var aBardDie = function (n) { return n < 5 ? 6 : n < 10 ? 8 : n < 15 ? 10 : 12; }(classes.known.bard.level);
- try {
- var curDie = eval_ish(fields.Damage_Die.replace('d', '*'));
- } catch (e) {
- var curDie = 'x';
- };
- if (isNaN(curDie) || curDie < aBardDie) {
- fields.Damage_Die = '1d' + aBardDie;
- };
- };
- },
- "When a Whistler wields a simple weapon, they can choose to use their bardic inspiration die instead of the weapon's damage dice",
- ],
- },
- },
- "subclassfeature3.2" : {
- name : "Encouraging Presence",
- source : ["HB", 0],
- minlevel : 3,
- action : ["reaction", ""],
- description : desc([
- "Whenever a creature rolls an inspiration die gained from me",
- "they also regain an equal amount of hit points to the result",
- "Additionally, I gain a new method of using my bardic inspiration",
- "As a reaction when a creature with 30ft rolls an attack, check or save",
- "I can immediately grant them a Bardic Inspiration die",
- "The creature must use the die on the roll that triggered this reaction",
- ]),
- },
- "subclassfeature14" : {
- name : "Hidden Depths",
- source : ["HB", 0],
- minlevel : 14,
- description : desc([
- "When I am reduced to 0hp, I can spend an inspiration die",
- "When I do so, I regain HP equal to the roll + my Charisma modifier",
- ]),
- },
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement