Dev_4413

Untitled

Sep 14th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var iFileName = "Homebrew Syntax - Tabaxi Variant.js";
  2. // This file adds a Martial Arts variant to the Tabaxi. Based on using Monk's Martial Arts ability and scaling to deal unarmed slashing damage.
  3.  
  4. // Define the source
  5. SourceList["Homebrew"] = {
  6.     name : "Tabaxi (Variant)",
  7.     abbreviation : "Tab (Var)",
  8.     group : "Homebrew",
  9.     url : null,
  10.     date : "2018/09/13"
  11. };
  12.  
  13. RaceList["tabaxi"] = {
  14.     regExpSearch : /tabaxi/i,
  15.     name : "Tabaxi",
  16.     source : ["V", 113],
  17.     plural : "Tabaxi",
  18.     size : 3,
  19.     speed : {
  20.         walk : { spd : 30, enc : 20 },
  21.         climb : { spd : 20, enc : 10 }
  22.     },
  23.     skills : ["Perception", "Stealth"],
  24.     languageProfs : ["Common", 1],
  25.     vision : [["Darkvision", 60]],
  26.     weapons : ["cat's claws"],
  27.     age : " reach adulthood in their late teens and live less than 100 years",
  28.     height : " range from 5 to well over 6 feet tall (4'10\" + 2d10\")",
  29.     weight : " weigh around 150 lb (90 + 2d10 \xD7 2d4 lb)",
  30.     heightMetric : " range from 1,5 to well over 1,8 metres tall (145 + 5d10 cm)",
  31.     weightMetric : " weigh around 70 kg (40 + 5d10 \xD7 4d4 / 10 kg)",
  32.     improvements : "Tabaxi: +2 Dexterity, +1 Charisma;",
  33.     scores : [0, 2, 0, 0, 0, 1],
  34.     features : {
  35.         "feline agility" : {
  36.             name : "Feline Agility",
  37.             minlevel : 1,
  38.             usages : 1,
  39.             recovery : " Turn",
  40.             additional : "still for 1 turn to recover",
  41.             tooltip : " (can be replenished by not moving for one whole turn)"
  42.         },
  43.         "feline arts" : {
  44.             name : "Feline Arts",
  45.             minlevel : 1,
  46.             description : "\n   " + "Natural weapons: any simple melee (not two-handed/heavy), unarmed strike" + "\n   " + "With my Cat's Claws, I can use Dex instead of Str and use the Feline Arts damage die" + "\n   " + "When taking an Attack action with these, I get one unarmed strike as a bonus action",
  47.             additional : levels.map(function (n) {
  48.                 return "1d" + (n < 5 ? 4 : n < 11 ? 6 : n < 17 ? 8 : 10);
  49.             }),
  50.             action : ["bonus action", " (with Attack action)"],
  51.             eval : "AddString('Extra.Notes', 'Feline Arts features:\\n\\u25C6 Lose Unarmored Defense, Feline Arts, and Unarmored Movement with armor\/shields', true);",
  52.             removeeval : "RemoveString('Extra.Notes', 'Feline Arts features:\\n\\u25C6 Lose Unarmored Defense, Feline Arts, and Unarmored Movement with armor\/shields', true);",
  53.             calcChanges : {
  54.                 atkAdd : ["var clawDie = function(n) { return n < 5 ? 4 : n < 11 ? 6 : n < 17 ? 8 : 10;}; var aClawDie = clawDie(classes.known.level); if (aClawDie !== 0 && aClawDie !== null) {fields.Damage_Die = '1d' + aClawDie;}; fields.Mod = StrDex; ", "I can use either Strength or Dexterity and my Feline Arts damage die in place of the normal damage die."]
  55.             }
  56.         },
  57.     },
  58.     trait : "Tabaxi (+2 Dexterity, +1 Charisma)\n\nCat's Claws: These give me a climbing speed of 20 feet.\n\nFeline Agility: When moving on my turn in combat, I can move double my speed. Once I do this, I can't do it again until I don't move at all on one of my turns.\n\nFeline Arts: With my fanged claws, I can use Dex instead of Str to make unarmed strikes dealing 1d4 slashing damage (which scales in level similar to a Monk's Martial Arts die based on level)."
  59. };
Advertisement
Add Comment
Please, Sign In to add comment