Xanjaycof

Trade Domain Subclass for MPMB's Sheet

Sep 29th, 2020
1,046
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var iFileName = "Homebrew Syntax - Trade Domain Subclass (Request by u/TioTheDutch).js";
  2. RequiredSheetVersion(12.999);
  3.  
  4. AddSubClass(
  5.  
  6.     "cleric",
  7.  
  8.     "trade domain",
  9.  
  10.     {
  11.  
  12.         regExpSearch : /^(?=.*trade)(?=.*domain).*$/i,
  13.  
  14.         subname : "Trade Domain",
  15.  
  16.         source : ["HB", 0],
  17.  
  18.         spellcastingList : {
  19.  
  20.             spells : ["comprehend language", "identify", "detect thoughts", "fortune's favor", "galder's tower", "tongues", "fabricate", "lemound's secret chest", "passwall", "mislead"],
  21.         },
  22.  
  23.         features : {
  24.  
  25.             "subclassfeature1" : {
  26.                 name : "Honeyed Words",
  27.                 source : ["HB", 0],
  28.                 minlevel : 1,
  29.                 description : "\n   " + "I gain the friends and message cantrips, which don't count against the number of cleric cantrips I know. These count as cleric cantrips for me.",
  30.                 spellcastingExtra : ["friends", "message"],
  31.             },
  32.             "subclassfeature1" : {
  33.                 name : "Trader's Advantage",
  34.                 source : ["HB", 0],
  35.                 minlevel : 1,
  36.                 description : "\n   " + "I become proficient in two of the following skills: Deception, Intimidation and Persuasion.",
  37.                 skillstxt : "\n\n" + toUni("Trade Domain (Trader's Advantage)") + ": Choose two from Deception, Intimidation and Persuasion.",
  38.             },
  39.             "subclassfeature2" : {
  40.                 name : "Channel Divinity: Art of the Deal",
  41.                 source : ["HB", 0],
  42.                 minlevel : 2,
  43.                 description : "\n   " + "I can use my Channel Divinity to gain advantage on all skill roles associated with making a deal, trading, or getting myself out of a jam. This effect lasts for 1 minute.",
  44.             },
  45.             "subclassfeature6" : {
  46.                 name : "Channel Divinity: Dealer's Advantage",
  47.                 source : ["HB", 0],
  48.                 minlevel : 6,
  49.                 description : "\n   " + "I may exchange a mundane item for its full market value or exchange currency for a mundane item of twice the market value.",
  50.             },
  51.             "subclassfeature6" : {
  52.                 name : "False Coin",
  53.                 source : ["HB", 0],
  54.                 minlevel : 6,
  55.                 description : "\n   " + "I can summen 1d100 coins of random denominations from my God's plane of existence. These coins last for a number of hours equal to my cleric level. Then they will fade and return to their home plane.",
  56.                 additional : ["", "", "", "", "", "6 hours", "7 hours", "8 hours", "9 hours", "10 hours", "11 hours", "12 hours", "13 hours", "14 hours", "15 hours", "16 hours", "17 hours", "18 hours", "19 hours", "20 hours"],
  57.             },
  58.             "subclassfeature8" : {
  59.                 name : "Potent Spellcasting",
  60.                 source : ["HB", 0],
  61.                 minlevel : 8,
  62.                 description : "\n   " + "I add my Wisdom modifier to the damage I deal with any cleric cantrip.",
  63.             },
  64.             "subclassfeature17" : {
  65.                 name : "Trade Master",
  66.                 source : ["HB", 0],
  67.                 minlevel : 17,
  68.                 description : "\n   " + "I can haggle my way to a 50% better deal. Once I use this feature, I can't use it again until I finish a short or long rest.",
  69.                 usages : 1,
  70.                 recovery : "short rest",
  71.             },
  72.         }
  73.     }
  74. );
RAW Paste Data