So I have a question related again to bar linking... Can you link a bar via the API to an auto calculated field? Obviously you can set this link manually, so I would assume you can, however when I try the following: var bar2 = findObjs({ _type: "attribute", _characterid: Character.id, name: "AC" });
"AC" is the auto-calculated field for Armor Class in Pathfinder. I get the following error from the above code: /home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:1 orts, require, module, __filename, __dirname) { function f(a){throw a;}var j=v ^ Error: Firebase.child failed: First argument must be a non-empty string and can't contain ".", "#", "$", "[", or "]". at Error ( ) at Ha (/home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:12:204) at G.W.H (/home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:126:213) at TrackedObj._doSave ( Now I saw the note with regards to working with Character Sheets on the Wiki: Note that fields which have auto-calculated values will return the formula rather than the result of the value. You can then pass that formula to sendChat() to use the dice engine to calculate the result for you automatically. Because this is an auto-calculated field I am sure that there are several special characters in the value returned... but I don't think the value itself is used for the bar_link... so not sure what could be wrong. Am I missing something?