Skip to content

Instantly share code, notes, and snippets.

@rileydutton
Created October 27, 2016 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rileydutton/846db7771e1ca67afd9789443622ba1a to your computer and use it in GitHub Desktop.
Save rileydutton/846db7771e1ca67afd9789443622ba1a to your computer and use it in GitHub Desktop.
on("ready", function() {
log(getSheetDefaultValue("repeating_spell-cantrip_spellschool"));
var firstChar = findObjs({type: "character"})[0];
if(!firstChar) return;
log(getAttrByName(firstChar.id, "repeating_spell-cantrip_$0_spellschool"));
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment