{"name":"Stormlight Archive","blocks":[{"type":"heading","id":"e90a48580a99","properties":["name"],"size":1,"fallback":"-"},{"type":"javascript","id":"c86b49aa3819","conditioned":false,"code":"let div = document.createElement(\"div\");\n\ndiv.innerText = `Tier ${monster.tier} ${monster.role} – ${monster.size} ${monster.kind}`;\n\nreturn div;"},{"type":"javascript","id":"fbba0bf8e98a","conditioned":false,"code":"const table = document.createElement(\"table\");\ntable.className=\"attributes\"\ntable.innerHTML = `\n<thead>\n  <tr>\n    <th colspan=\"3\">Physical</th>\n    <th colspan=\"3\">Cognitive</th>\n    <th colspan=\"3\">Spiritual</th>\n  </tr>\n  <tr>\n    <th>STR</th>\n    <th>DEF</th>\n    <th>SPD</th>\n    <th>INT</th>\n    <th>DEF</th>\n    <th>WIL</th>\n    <th>AWA</th>\n    <th>DEF</th>\n    <th>PRE</th>\n  </tr>\n</thead>\n<tbody>\n  <tr>\n    <td>${monster.attributes.strength}</td>\n    <td>${monster.defenses.physical}</td>\n    <td>${monster.attributes.speed}</td>\n    <td>${monster.attributes.intellect}</td>\n    <td>${monster.defenses.cognitive}</td>\n    <td>${monster.attributes.willpower}</td>\n    <td>${monster.attributes.awareness}</td>\n    <td>${monster.defenses.spiritual}</td>\n    <td>${monster.attributes.presence}</td>\n  </tr>\n</tbody>\n`;\n\nreturn table;"},{"type":"inline","id":"f9bbcb4a4a1b","properties":[],"nested":[{"type":"property","id":"9a883a68886b","properties":["health"],"fallback":"-","display":"Health","callback":"return `${monster.health.value} (${monster.health.min}–${monster.health.max})`"},{"type":"property","id":"0898e81bdb7b","properties":["focus"],"fallback":"-","display":"Focus"},{"type":"property","id":"39cbea6b6909","properties":["investiture"],"fallback":"-","display":"Investiture","conditioned":true}],"hasRule":true},{"type":"group","id":"886bea8a3868","properties":[],"nested":[{"type":"property","id":"9abbc9ab49d9","properties":["deflect"],"fallback":"-","display":"Deflect","conditioned":false,"callback":"return `${monster.deflect?.value ?? 0}` + (monster.deflect?.desc ? ` (${monster.deflect.desc})` : \"\")"},{"type":"property","id":"1bd8d95a48ea","properties":["movement"],"fallback":"-","display":"Movement","callback":"let movement = `${monster.movement.value} ft.`;\n\nfor (let extra of monster.movement.extra) {\n  movement += `, ${extra.desc} ${extra.value} ft.`;\n}\nif (monster.movement.desc)\n  movement += ` (${monster.movement.desc})`;\n\nreturn movement"},{"type":"property","id":"8b5859f8d8e9","properties":["senses"],"fallback":"-","display":"Senses","callback":"return `${monster.senses?.value ?? 0} ft.` + (monster.senses?.desc ? ` (${monster.senses.desc})` : \"\")"},{"type":"saves","id":"2ba8d8186b19","properties":["physical_skills"],"fallback":"-","display":"Physical Skills","conditioned":true},{"type":"saves","id":"99783bc8abeb","properties":["cognitive_skills"],"fallback":"-","display":"Cognitive Skills","conditioned":true},{"type":"saves","id":"8ae8fb694939","properties":["spiritual_skills"],"fallback":"-","display":"Spiritual Skills","conditioned":true},{"type":"saves","id":"4a6baa7b882a","properties":["surge_skills"],"fallback":"-","display":"Surge Skills","conditioned":true},{"type":"property","id":"ba8b289839b9","properties":["languages"],"fallback":"-","conditioned":true,"display":"Languages"}]},{"type":"traits","id":"a8c93b49c809","properties":["features"],"fallback":"-","heading":"Features"},{"type":"traits","id":"39bada19ca09","properties":["actions"],"fallback":"-","heading":"Actions"},{"type":"group","id":"ba1929d8baaa","properties":[],"nested":[{"type":"property","id":"5bab8a7a1a9b","properties":["opportunity"],"fallback":"-","display":"Opportunity","conditioned":true,"callback":"let svg = `<svg    width=\"3.4575701mm\"     height=\"3.4607601mm\"    viewBox=\"0 0 3.4575701 3.4607601\"    version=\"1.1\"    >  <path\n     d=\"M 1.81787,2.94535 C 1.78367,3.0974 1.75897,3.27414 1.74767,3.46076 1.72297,3.27414 1.69867,3.0974 1.65277,2.94535 1.05375,2.91115 0.56304,2.42994 0.52847,1.81964 0.3616,1.78194 0.18663,1.74594 0.0113,1.73464 H 0 C 0.18662,1.72124 0.36159,1.70184 0.52846,1.66724 0.56306,1.05552 1.04245,0.56445 1.63971,0.52671 1.68701,0.36478 1.69861,0.19968 1.71841,0.0113 V 0 c 0.0159,0.18662 0.0406,0.36477 0.0864,0.5267 0.6103,0.0377 1.08973,0.51717 1.13735,1.11618 0.15381,0.0473 0.32879,0.0917 0.51541,0.0917 -0.18662,0.0113 -0.3616,0.0261 -0.51541,0.072 -0.0346,0.61172 -0.52705,1.0915 -1.1243,1.13877 M 0.72495,1.59703 C 1.16028,1.43017 1.43192,1.13878 1.58079,0.72991004 1.13559,0.79831004 0.78387,1.15042 0.72495,1.59703 M 1.87677,0.72991004 C 2.0387,1.16347 2.33186,1.43017 2.73261,1.58398 2.66241,1.13878 2.30893,0.79834004 1.87677,0.72991004 M 1.73425,2.55765 C 1.81785,2.38408 1.91099,2.23027 2.0387,2.08775 2.19251,1.94875 2.3562,1.81964 2.55411,1.73603 2.38089,1.65593 2.22849,1.54941 2.08456,1.42029 1.94557,1.27953 1.81786,1.10456 1.72296,0.90488004 1.65276,1.08163 1.54657,1.24531 1.41887,1.37443 1.27811,1.52824 1.10137,1.64289 0.90346,1.73603 c 0.17321,0.0836 0.3369,0.18838 0.46955,0.30621 0.15063,0.15205 0.2667,0.31574 0.36124,0.51541 M 1.59385,2.73439 C 1.43192,2.31035 1.13559,2.0306 0.72495,1.87855 0.79515,2.3234 1.14864,2.67548 1.59385,2.73439 M 2.73261,1.87855 C 2.30893,2.04224 2.02565,2.33328 1.87677,2.73439 2.32198,2.67549 2.6737,2.3234 2.73261,1.87855\"\n     style=\"fill:#1359ad;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.352778\" /></svg>`\n\nreturn `<span>${monster.opportunity.replace(\"#OPPORTUNITY#\", svg)}</span>`"},{"type":"property","id":"1ab9e97bd86a","properties":["complication"],"fallback":"-","display":"Complication","conditioned":true,"callback":"let svg = `<svg    width=\"3.4575701mm\"     height=\"3.4607601mm\"    viewBox=\"0 0 12.337333 12.158667\"    version=\"1.1\"    >    <path      d=\"M 5.8626665,2.3133333 4.0439999,0 4.1306666,2.9133333 5.3066665,3.4759999 Z M 8.2933331,0 6.4746665,2.3133333 7.0319998,3.4759999 8.2066665,2.9133333 Z M 3.6119999,3.3826666 0.74799998,2.7839999 2.7146666,4.9293332 l 1.224,-0.3333333 z m 5.1146665,0 L 8.3986665,4.5959999 9.6226664,4.9293332 11.589333,2.7839999 Z M 2.5786666,5.5853332 0,6.9519998 2.9066666,7.3786665 3.6479999,6.3453332 Z M 9.4306664,7.3786665 12.337333,6.9519998 9.7586664,5.5853332 l -1.0693333,0.76 z M 2.1519999,10.650666 4.6506666,9.1533331 4.4959999,7.8479998 l -1.268,0.1306667 z M 7.6866665,9.1533331 10.185333,10.650666 9.1093331,7.9786665 l -1.268,-0.1306667 z m -1.54,3.0053329 0.94,-2.8133329 -0.94,-0.8973333 -0.896,0.8973333 z\"      style=\"fill:#ad1313;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.33333\" /></svg>`\n\nreturn `<span>${monster.complication.replace(\"#COMPLICATION#\", svg)}</span>`"}],"heading":"Opportunities and Complications","conditioned":true}],"id":"99b8b82bfa68","cssProperties":{"primaryColor":"#1e3c60","ruleColor":"#d0a452","backgroundColor":"#ffffff","borderColor":"ruleColor","barColor":"ruleColor","barBorderColor":"primaryColor","obsidian":{"backgroundColor":"#0a141f","primaryColor":"#ffffff","barBorderColor":"ruleColor","sectionHeadingBorderColor":"ruleColor"},"sectionHeadingBorderColor":"ruleColor","traitsNameFontStyle":"","propertyNameFontWeight":"bold","headingFont":"contentFont","sectionHeadingFont":"contentFont","sectionHeadingFontWeight":"bold","sectionHeadingFontSize":"18px"}}