Guest User

Untitled

a guest
Apr 29th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FeatsList["Thug"] = {
  2.     name : "Thug",
  3.     source : ["HB", 5],
  4.     description : "I gain the ability to use sneak attack with any melee weapon that is not two handed or heavy.\nI gain proficiency with one martial weapon of my choice.\n[+1 Strength or Dexterity]",
  5.     improvements : "Thug (feat): +1 Strength;",
  6.     scores : [1, 0, 0, 0, 0, 0],
  7.     prerequisite : "Sneak Attack class feature",
  8.  
  9.     calcChanges : {
  10.         atkAdd : [
  11.             function (fields, v) {
  12.                 if (classes.known.rogue && classes.known.rogue.level && !v.isSpell && !(/\b(heavy|(2|two).?hand(ed)?s?)\b/i).test(fields.Description))  {
  13.                     v.sneakAtk = Math.ceil(classes.known.rogue.level / 2);
  14.                     fields.Description += (fields.Description ? '; ' : '') + 'Sneak attack ' + v.sneakAtk + 'd6';
  15.                 };
  16.             },
  17.             "Once per turn, when I attack with a ranged or one-handed, non-heavy weapon while I have advantage or an conscious ally is within 5 ft of the target, I can add my sneak attack damage to the attack."
  18.         ]
  19.     }
  20.  
  21. };
Advertisement
Add Comment
Please, Sign In to add comment