Skip to content

Instantly share code, notes, and snippets.

@Fourleafclov
Created May 9, 2018 15:02
Show Gist options
  • Save Fourleafclov/e95a1ef4cd94199958f2306ccea356e8 to your computer and use it in GitHub Desktop.
Save Fourleafclov/e95a1ef4cd94199958f2306ccea356e8 to your computer and use it in GitHub Desktop.
var iFileName = "Marid's Blessing Feat.js";
RequiredSheetVersion(12.999);
FeatsList["marid's blessing"] = {
name : "Marid's Blessing",
source : ["HB", 0],
description : "While underwater, you gain advantage on Stealth checks and Darkvision 120ft. You may drink salt water as though it were fresh water. You gain advantage versus poison saves. You gain the Liquid Form feature (see notes). [+1 Dexterity];",
prerequisite : "Being a Water Genasi",
prereqeval : "CurrentRace.known.indexOf('water genasi') !== -1",
improvements : "Marid's Blessing (feat): +1 Dexterity;",
scores : [0, 1, 0, 0, 0, 0],
vision : [["Darkvision (while underwater)", 120]],
savetxt : {
adv_vs : ["poison"]
},
action : ["bonus", " (Liquid Form)"],
usages : 1,
recovery : "short rest",
eval : "AddString(\"Extra.Notes\", \"Liquid Form:\\n\\u25C6 Once per short rest I can use my bonus action to become a liquid form. I have resistance\\n to non magical damage and attacks against you have disadvantage. I may enter any place\\n with at least one inch of clearance. I reform at the end of my turn.\\n\\u25C6 I take 1d6 bludgeoning damage for every 5ft of movement I am forced to move if I\\n end my turn in too small of a space. I am moved to the nearest open square to where\\n I ended your turn.\", true);",
removeeval : "RemoveString(\"Extra.Notes\", \"Liquid Form:\\n\\u25C6 Once per short rest I can use my bonus action to become a liquid form. I have resistance\\n to non magical damage and attacks against you have disadvantage. I may enter any place\\n with at least one inch of clearance. I reform at the end of my turn.\\n I take 1d6 bludgeoning damage for every 5ft of movement I am forced to move if I\\n end my turn in too small of a space. I am moved to the nearest open square to where\\n I ended your turn.\", false);",
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment