Files
roll20-character-sheets-tester/Basic Fantasy RPG - Expanded/bfrpgsheet-expanded.html
T

5158 lines
338 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- The sheetworker is for transferring data from the oldsheet to the new sheet -->
<scrip<!-- The sheetworker is for transferring data from the oldsheet to the new sheet -->
<script type=“text/worker”>
on("sheet:opened", function() {
getAttrs(['list', 'of', 'attrs', 'on', 'the', 'old', 'sheet', 'already_transitioned'], function(attrs) {
if(attr.already_transitioned !== '1') {
var hasOldData = false;
var updates = {};
_.each(attrs, function(value, key) {
if(value) {
hasOldData = true;
}
});
if(!hasOldData) {
updates.already_transitioned = '1';
setAttrs(updates);
}
else {
getAttrs(['list', 'of', 'all', 'attrs', 'on', 'the', 'old', 'sheet'], function(oldAttrs) {
attr_character_name = attr_name;
attr_strength = attr_STR;
attr_intelligence = attr_INT;
attr_wisdom = attr_WIS;
attr_dexterity = attr_DEX;
attr_constitution = attr_CON;
attr_charisma = attr_CHA;
attr_HP_max = attr_hp_max;
attr_HP = attr_hp;
attr_ab = attr_ab_normal;
attr_move_encounter = attr_movement;
attr_current_xp = attr_currentxp;
attr_xp_next_level = attr_xpnextlevel;
attr_save_death_ray = attr_deathrayorpoison;
attr_save_magic_wand = attr_magicwands;
attr_save_paralysis = attr_paralysispetrification;
attr_save_dragons_breath = attr_dragonbreath;
attr_save_rod_staff_spell = attr_rodsstavesspells;
attr_lootnotes = attr_money;
updates.already_transitioned = '1';
setAttrs(updates);
});
}
}
});
});
</script>
<script type=“text/worker”>
/* ---- BEGIN: TheAaronSheet.js ---- */
// Github: https://github.com/shdwjk/TheAaronSheet/blob/master/TheAaronSheet.js
// By: The Aaron, Arcane Scriptomancer
// Contact: https://app.roll20.net/users/104025/the-aaron
var TAS = TAS || (function(){
'use strict';
var version = '0.2.4',
lastUpdate = 1457098091,
loggingSettings = {
debug: {
key: 'debug',
title: 'DEBUG',
color: {
bgLabel: '#7732A2',
label: '#F2EF40',
bgText: '#FFFEB7',
text: '#7732A2'
}
},
error: {
key: 'error',
title: 'Error',
color: {
bgLabel: '#C11713',
label: 'white',
bgText: '#C11713',
text: 'white'
}
},
warn: {
key: 'warn',
title: 'Warning',
color: {
bgLabel: '#F29140',
label: 'white',
bgText: '#FFD8B7',
text: 'black'
}
},
info: {
key: 'info',
title: 'Info',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#B3B2EB',
text: 'black'
}
},
notice: {
key: 'notice',
title: 'Notice',
color: {
bgLabel: '#33C133',
label: 'white',
bgText: '#ADF1AD',
text: 'black'
}
},
log: {
key: 'log',
title: 'Log',
color: {
bgLabel: '#f2f240',
label: 'black',
bgText: '#ffff90',
text: 'black'
}
},
callstack: {
key: 'TAS',
title: 'function',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#B3B2EB',
text: 'black'
}
},
callstack_async: {
key: 'TAS',
title: 'ASYNC CALL',
color: {
bgLabel: '#413FA9',
label: 'white',
bgText: '#413FA9',
text: 'white'
}
},
TAS: {
key: 'TAS',
title: 'TAS',
color: {
bgLabel: 'grey',
label: 'black;background:linear-gradient(#304352,#d7d2cc,#d7d2cc,#d7d2cc,#304352)',
bgText: 'grey',
text: 'black;background:linear-gradient(#304352,#d7d2cc,#d7d2cc,#d7d2cc,#304352)'
}
}
},
config = {
debugMode: false,
logging: {
log: true,
notice: true,
info: true,
warn: true,
error: true,
debug: false
}
},
callstackRegistry = [],
queuedUpdates = {}, //< Used for delaying saves till the last momment.
complexType = function(o){
switch(typeof o){
case 'string':
return 'string';
case 'boolean':
return 'boolean';
case 'number':
return (_.isNaN(o) ? 'NaN' : (o.toString().match(/\./) ? 'decimal' : 'integer'));
case 'function':
return 'function: '+(o.name ? o.name+'()' : '(anonymous)');
case 'object':
return (_.isArray(o) ? 'array' : (_.isArguments(o) ? 'arguments' : ( _.isNull(o) ? 'null' : 'object')));
default:
return typeof o;
}
},
dataLogger = function(primaryLogger,secondaryLogger,data){
_.each(data,function(m){
var type = complexType(m);
switch(type){
case 'string':
primaryLogger(m);
break;
case 'undefined':
case 'null':
case 'NaN':
primaryLogger('['+type+']');
break;
case 'number':
case 'not a number':
case 'integer':
case 'decimal':
case 'boolean':
primaryLogger('['+type+']: '+m);
break;
default:
primaryLogger('['+type+']:=========================================');
secondaryLogger(m);
primaryLogger('=========================================================');
break;
}
});
},
colorLog = function(options){
var coloredLoggerFunction,
key = options.key,
label = options.title || 'TAS',
lBGColor = (options.color && options.color.bgLabel) || 'blue',
lTxtColor = (options.color && options.color.label) || 'white',
mBGColor = (options.color && options.color.bgText) || 'blue',
mTxtColor = (options.color && options.color.text) || 'white';
coloredLoggerFunction = function(message){
console.log(
'%c '+label+': %c '+message + ' ',
'background-color: '+lBGColor+';color: '+lTxtColor+'; font-weight:bold;',
'background-color: '+mBGColor+';color: '+mTxtColor+';'
);
};
return function(){
if('TAS'===key || config.logging[key]){
dataLogger(coloredLoggerFunction,function(m){console.log(m);},_.toArray(arguments));
}
};
},
logDebug = colorLog(loggingSettings.debug),
logError = colorLog(loggingSettings.error),
logWarn = colorLog(loggingSettings.warn),
logInfo = colorLog(loggingSettings.info),
logNotice = colorLog(loggingSettings.notice),
logLog = colorLog(loggingSettings.log),
log = colorLog(loggingSettings.TAS),
logCS = colorLog(loggingSettings.callstack),
logCSA = colorLog(loggingSettings.callstack_async),
registerCallstack = function(callstack,label){
var idx=_.findIndex(callstackRegistry,function(o){
return (_.difference(o.stack,callstack).length === _.difference(callstack,o.stack).length) &&
_.difference(o.stack,callstack).length === 0 &&
o.label === label;
});
if(-1 === idx){
idx=callstackRegistry.length;
callstackRegistry.push({
stack: callstack,
label: label
});
}
return idx;
},
setConfigOption = function(options){
var newconf =_.defaults(options,config);
newconf.logging=_.defaults(
(options && options.logging)||{},
config.logging
);
config=newconf;
},
debugMode = function(){
config.logging.debug=true;
config.debugMode = true;
},
getCallstack = function(){
var e = new Error('dummy'),
stack = _.map(_.rest(e.stack.replace(/^[^\(]+?[\n$]/gm, '')
.replace(/^\s+at\s+/gm, '')
.replace(/^Object.<anonymous>\s*\(/gm, '{anonymous}()@')
.split('\n')),function(l){
return l.replace(/\s+.*$/,'');
});
return stack;
},
logCallstackSub = function(cs){
var matches, csa;
_.find(cs,function(line){
matches = line.match(/TAS_CALLSTACK_(\d+)/);
if(matches){
csa=callstackRegistry[matches[1]];
logCSA( '===================='+(csa.label ? '> '+csa.label+' <' : '')+'====================');
logCallstackSub(csa.stack);
return true;
}
logCS(line);
return false;
});
},
logCallstack = function(){
var cs;
if(config.debugMode){
cs = getCallstack();
cs.shift();
log('==============================> CALLSTACK <==============================');
logCallstackSub(cs);
log('=========================================================================');
}
},
wrapCallback = function (label, callback, context){
var callstack;
if('function' === typeof label){
context=callback;
callback=label;
label=undefined;
}
if(!config.debugMode){
return (function(cb,ctx){
return function(){
cb.apply(ctx||{},arguments);
};
}(callback,context));
}
callstack = getCallstack();
callstack.shift();
return (function(cb,ctx,cs,lbl){
var ctxref=registerCallstack(cs,lbl);
/*jshint -W054 */
return new Function('cb','ctx','TASlog',
"return function TAS_CALLSTACK_"+ctxref+"(){"+
"TASlog('Entering: '+(cb.name||'(anonymous function)'));"+
"cb.apply(ctx||{},arguments);"+
"TASlog('Exiting: '+(cb.name||'(anonymous function)'));"+
"};")(cb,ctx,log);
/*jshint +W054 */
}(callback,context,callstack,label));
},
prepareUpdate = function( attribute, value ){
queuedUpdates[attribute]=value;
},
applyQueuedUpdates = function() {
setAttrs(queuedUpdates);
queuedUpdates = {};
},
namesFromArgs = function(args,base){
return _.chain(args)
.reduce(function(memo,attr){
if('string' === typeof attr) {
memo.push(attr);
} else if(_.isArray(args) || _.isArguments(args)){
memo = namesFromArgs(attr,memo);
}
return memo;
},(_.isArray(base) && base) || [])
.uniq()
.value();
},
addId = function(obj,value){
Object.defineProperty(obj,'id',{
value: value,
writeable: false,
enumerable: false
});
},
addProp = function(obj,prop,value,fullname){
(function(){
var pname=(_.contains(['S','F','I','D'],prop) ? '_'+prop : prop),
full_pname = fullname || prop,
pvalue=value;
_.each(['S','I','F'],function(p){
if( !_.has(obj,p)){
Object.defineProperty(obj, p, {
value: {},
enumerable: false,
readonly: true
});
}
});
if( !_.has(obj,'D')){
Object.defineProperty(obj, 'D', {
value: _.reduce(_.range(10),function(m,d){
Object.defineProperty(m, d, {
value: {},
enumerable: true,
readonly: true
});
return m;
},{}),
enumerable: false,
readonly: true
});
}
// Raw value
Object.defineProperty(obj, pname, {
enumerable: true,
set: function(v){
if(v!==pvalue) {
pvalue=v;
prepareUpdate(full_pname,v);
}
},
get: function(){
return pvalue;
}
});
// string value
Object.defineProperty(obj.S, pname, {
enumerable: true,
set: function(v){
var val=v.toString();
if(val !== pvalue) {
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return pvalue.toString();
}
});
// int value
Object.defineProperty(obj.I, pname, {
enumerable: true,
set: function(v){
var val=parseInt(v,10) || 0;
if(val !== pvalue){
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return parseInt(pvalue,10) || 0;
}
});
// float value
Object.defineProperty(obj.F, pname, {
enumerable: true,
set: function(v){
var val=parseFloat(v) || 0;
if(val !== pvalue) {
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return parseFloat(pvalue) || 0;
}
});
_.each(_.range(10),function(d){
Object.defineProperty(obj.D[d], pname, {
enumerable: true,
set: function(v){
var val=(parseFloat(v) || 0).toFixed(d);
if(val !== pvalue){
pvalue=val;
prepareUpdate(full_pname,val);
}
},
get: function(){
return (parseFloat(pvalue) || 0).toFixed(d);
}
});
});
}());
},
repeating = function( section ) {
return (function(s){
var sectionName = s,
attrNames = [],
fieldNames = [],
operations = [],
after = [],
repAttrs = function TAS_Repeating_Attrs(){
attrNames = namesFromArgs(arguments,attrNames);
return this;
},
repFields = function TAS_Repeating_Fields(){
fieldNames = namesFromArgs(arguments,fieldNames);
return this;
},
repReduce = function TAS_Repeating_Reduce(func, initial, final, context) {
operations.push({
type: 'reduce',
func: (func && _.isFunction(func) && func) || _.noop,
memo: (_.isUndefined(initial) && 0) || initial,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repMap = function TAS_Repeating_Map(func, final, context) {
operations.push({
type: 'map',
func: (func && _.isFunction(func) && func) || _.noop,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repEach = function TAS_Repeating_Each(func, final, context) {
operations.push({
type: 'each',
func: (func && _.isFunction(func) && func) || _.noop,
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repTap = function TAS_Repeating_Tap(final, context) {
operations.push({
type: 'tap',
final: (final && _.isFunction(final) && final) || _.noop,
context: context || {}
});
return this;
},
repAfter = function TAS_Repeating_After(callback,context) {
after.push({
callback: (callback && _.isFunction(callback) && callback) || _.noop,
context: context || {}
});
return this;
},
repExecute = function TAS_Repeating_Execute(callback,context){
var rowSet = {},
attrSet = {},
fieldIds = [],
fullFieldNames = [];
repAfter(callback,context);
// call each operation per row.
// call each operation's final
getSectionIDs("repeating_"+sectionName,function(ids){
fieldIds = ids;
fullFieldNames = _.reduce(fieldIds,function(memo,id){
return memo.concat(_.map(fieldNames,function(name){
return 'repeating_'+sectionName+'_'+id+'_'+name;
}));
},[]);
getAttrs( _.uniq(attrNames.concat(fullFieldNames)), function(values){
_.each(attrNames,function(aname){
if(values.hasOwnProperty(aname)){
addProp(attrSet,aname,values[aname]);
}
});
rowSet = _.reduce(fieldIds,function(memo,id){
var r={};
addId(r,id);
_.each(fieldNames,function(name){
var fn = 'repeating_'+sectionName+'_'+id+'_'+name;
addProp(r,name,values[fn],fn);
});
memo[id]=r;
return memo;
},{});
_.each(operations,function(op){
var res;
switch(op.type){
case 'tap':
_.bind(op.final,op.context,rowSet,attrSet)();
break;
case 'each':
_.each(rowSet,function(r){
_.bind(op.func,op.context,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,rowSet,attrSet)();
break;
case 'map':
res = _.map(rowSet,function(r){
return _.bind(op.func,op.context,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,res,rowSet,attrSet)();
break;
case 'reduce':
res = op.memo;
_.each(rowSet,function(r){
res = _.bind(op.func,op.context,res,r,attrSet,r.id,rowSet)();
});
_.bind(op.final,op.context,res,rowSet,attrSet)();
break;
}
});
// finalize attrs
applyQueuedUpdates();
_.each(after,function(op){
_.bind(op.callback,op.context)();
});
});
});
};
return {
attrs: repAttrs,
attr: repAttrs,
column: repFields,
columns: repFields,
field: repFields,
fields: repFields,
reduce: repReduce,
inject: repReduce,
foldl: repReduce,
map: repMap,
collect: repMap,
each: repEach,
forEach: repEach,
tap: repTap,
'do': repTap,
after: repAfter,
last: repAfter,
done: repAfter,
execute: repExecute,
go: repExecute,
run: repExecute
};
}(section));
},
repeatingSimpleSum = function(section, field, destination){
repeating(section)
.attr(destination)
.field(field)
.reduce(function(m,r){
return m + (r.F[field]);
},0,function(t,r,a){
a.S[destination]=t;
})
.execute();
};
console.log('%c•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸ The Aaron Sheet v'+version+' ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•','background: linear-gradient(to right,green,white,white,green); color:black;text-shadow: 0 0 8px white;');
console.log('%c•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸ Last update: '+(new Date(lastUpdate*1000))+' ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•','background: linear-gradient(to right,green,white,white,green); color:black;text-shadow: 0 0 8px white;');
return {
/* Repeating Sections */
repeatingSimpleSum: repeatingSimpleSum,
repeating: repeating,
/* Configuration */
config: setConfigOption,
/* Debugging */
callback: wrapCallback,
callstack: logCallstack,
debugMode: debugMode,
_fn: wrapCallback,
/* Logging */
debug: logDebug,
error: logError,
warn: logWarn,
info: logInfo,
notice: logNotice,
log: logLog
};
}());
/* ---- END: TheAaronSheet.js ---- */
</script>
<script type=“text/worker”>
// Calculate Worn Weight
on('change:repeating_inventtab1 remove:repeating_inventtab1',function(){
TAS.repeatingSimpleSum('inventtab1','itemwornenc','itemwornenctotal');
});
// Calculate Carried Weight
on('change:repeating_inventtab2 remove:repeating_inventtab2',function(){
TAS.repeatingSimpleSum('inventtab2','itemcarriedenc','itemcarriedenctotal');
});
//Calculate Total Load Carried
on("sheet:opened change:itemwornenctotal change:itemcarriedenctotal",function(){
//'use strict';
getAttrs(["itemwornenctotal", "itemcarriedenctotal", "rangedtotalweightcarried", "geartotalweightcarried"], function(lvalue) {
console.log("Item Worn Total: " + lvalue.itemwornenctotal);
console.log("Item Worn Total: " + lvalue.itemcarriedenctotal);
var worn = parseInt(lvalue.itemwornenctotal)||0;
var carried = parseInt(lvalue.itemcarriedenctotal)||0;
setAttrs({ totalloadcarried: worn + carried });
});
});
</script>
<!-- Sheet code -->
<div class="sheet-overall-wrapper">
<div class="sheet-character">
<!--Main Header -->
<div class="sheet-core-header sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-margin-top"><img src="http://imgur.com/TprZw4p.png" alt="Basic Fantasy RPG" width=150 ></div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_character_name"><br/>Character Name</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_class"><br/>Class</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_level" value="1"><br/>Level</div>
</div>
</div>
<!-- Tabs-->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" title="Main" checked="checked" />
<span class="sheet-tab sheet-tab1">Main</span> <!--line 32 -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" />
<span class="sheet-tab sheet-tab3">Abilities</span> <!--line 208 -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" />
<span class="sheet-tab sheet-tab2">Optionals</span> <!--line -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab4" value="4" />
<span class="sheet-tab sheet-tab4">Combat</span> <!--line -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab5" value="5" />
<span class="sheet-tab sheet-tab5">Spellbook</span> <!--line -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab6" value="6" />
<span class="sheet-tab sheet-tab6">Equipment</span> <!--line -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab99" value="99" />
<span class="sheet-tab sheet-tab99">Show All</span>
<span class="sheet-spacer"></span>
<!--Main Page-->
<div class="sheet-section-main">
<input class="sheet-is-npc" type="checkbox" name="attr_is_npc" value="1"><span class="sheet-is-npc-tab"></span>
<div class="sheet-npcinfo">
<div class="sheet-row">
<div class="sheet-col-1-16 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" title="attr_npcac" name="attr_npcac"><br/>Armor Class</div>
<div class="sheet-col-1-16 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" title="attr_hitdice" name="attr_hitdice"><br/>Hit Dice</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" title="attr_numberattacks" name="attr_numberattacks"><br/>Number of Attacks</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" title="attr_hitdice" name="attr_damage"><br/>Damage</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" title="attr_npcmovement" name="attr_npcmovement"><br/>Movement</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" title="attr_numappear" name="attr_numappear"><br/>Number<br/>Appearing</div>
<div class="sheet-col-1-16 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" title="attr_saveas" name="attr_saveas"><br/>Save As</div>
<div class="sheet-col-1-16 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" title="attr_morale" name="attr_morale"><br/>Morale</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" title="attr_treasuretype" name="attr_treasuretype"><br/>Treasure Type</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" title="attr_xpvalue" name="attr_xpvalue"><br/>XP Value</div>
</div>
</div>
<h4 class="sheet-center">Appearance, Vision, Languages and Alignment</h4>
<div class="sheet-row">
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_race"><br/>Race</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_age"><br/>Age</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_height"><br/>Height</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_weight"><br/>Weight</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_eyes"><br/>Eyes</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_hair"><br/>Hair</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_size"><br/>Size</div>
</div>
<div class="sheet-row sheet-padb">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_vision"><br/>Vision</div>
<div class="sheet-col-2-3 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_prolanguages"><br/>Known Languages</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_alignment"><br/>Alignment</div>
</div>
<!-- The abiltity adjustment is fitted to a 3rd order polynomial that gives the correct value between 3 and 18-->
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Abilities</h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Score</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">Adjust.</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Roll</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Notes</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_strength" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Str</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_strength_mod" value="(round(@{strength}*@{strength}*@{strength}*0.002831-@{strength}*@{strength}*0.08918+1.164*@{strength}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Str" value="&{template:5eDefault} {{ability=1}} {{title=Strength Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{strength_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Attack&nbsp;Dam.&nbsp;Open&nbsp;Doors</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_intelligence" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Int</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_intelligence_mod" value="(round(@{intelligence}*@{intelligence}*@{intelligence}*0.002831-@{intelligence}*@{intelligence}*0.08918+1.164*@{intelligence}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Int" value="&{template:5eDefault} {{ability=1}} {{title=Intelligence Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{intelligence_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Languages</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_wisdom" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Wis</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_wisdom_mod" value="(round(@{wisdom}*@{wisdom}*@{wisdom}*0.002831-@{wisdom}*@{wisdom}*0.08918+1.164*@{wisdom}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Wis" value="&{template:5eDefault} {{ability=1}} {{title=Wisdom Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{wisdom_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Save&nbsp;vs.&nbsp;Spells</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_dexterity" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Dex</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_dexterity_mod" value="(round(@{dexterity}*@{dexterity}*@{dexterity}*0.002831-@{dexterity}*@{dexterity}*0.08918+1.164*@{dexterity}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Dex" value="&{template:5eDefault} {{ability=1}} {{title=Dexterity Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{dexterity_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Missile&nbsp;Attack&nbsp;AC</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_constitution" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Con</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_constitution_mod" value="(round(@{constitution}*@{constitution}*@{constitution}*0.002831-@{constitution}*@{constitution}*0.08918+1.164*@{constitution}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Con" value="&{template:5eDefault} {{ability=1}} {{title=Constitution Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{constitution_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Hit&nbsp;Points/Level</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_charisma" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Cha</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_charisma_mod" value="(round(@{charisma}*@{charisma}*@{charisma}*0.002831-@{charisma}*@{charisma}*0.08918+1.164*@{charisma}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Cha" value="&{template:5eDefault} {{ability=1}} {{title=Charisma Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{charisma_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Reactions</div>
</div>
<!--OSR stands for Optional Skill/Stat(ability) roll page 153 in core rules-->
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_osr" min="0" max="17" step="1" value="17"/></div>
<div class="sheet-col-1-6"></div>
<div class="sheet-col-1-6"></div>
<div class="sheet-col-1-8 sheet-center"></div>
<div class="sheet-col-1-4 sheet-tiny-note">Optional&nbsp;Ability&nbsp;Check&nbsp;Score</div>
</div>
</div>
<!--Saving Throws and Experience-->
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Saving Throws</h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Score</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">Save type</div>
<div class="sheet-col-1-6 sheet-right sheet-small-label">Modifier</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-padr"><input type="number" name="attr_save_death_ray" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Death Ray or Poison</div>
<div class="sheet-col-1-10 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-8 sheet-left"><input type="number" name="attr_save_death_ray_mod" Title="Modifier" value="0" min="0" step="1" /></div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SDR" value="&{template:5eDefault} {{save=1}} {{title=Death Ray or Poison}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+@{save_death_ray_mod}}>@{save_death_ray}]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-padr"><input type="number" name="attr_save_magic_wand" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Magic Wands</div>
<div class="sheet-col-1-10 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-8 sheet-left"><input type="number" name="attr_save_magic_wand_mod" Title="Modifier" value="0" min="0" step="1" /></div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SMW" value="&{template:5eDefault} {{save=1}} {{title=Magic Wands}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+@{save_magic_wand_mod}}>@{save_magic_wand}]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-padr"><input type="number" name="attr_save_paralysis" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Paralysis or Turn to Stone</div>
<div class="sheet-col-1-10 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-8 sheet-left"><input type="number" name="attr_save_paralysis_mod" Title="Modifier" value="0" min="0" step="1" /></div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SPTTS" value="&{template:5eDefault} {{save=1}} {{title=Paralysis or Turn to Stone}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+@{save_paralysis_mod}}>@{save_paralysis}]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-padr"><input type="number" name="attr_save_dragons_breath" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Dragon's Breath</div>
<div class="sheet-col-1-10 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-8 sheet-left"><input type="number" name="attr_save_dragons_breath_mod" Title="Modifier" value="0" min="0" step="1" /></div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SDB" value="&{template:5eDefault} {{save=1}} {{title=Dragon's Breath}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+@{save_dragons_breath_mod}}>@{save_dragons_breath}]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-padr"><input type="number" name="attr_save_rod_staff_spell" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Rod, Staff, or Spell</div>
<div class="sheet-col-1-10 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-8 sheet-left"><input type="number" name="attr_save_rod_staff_spell_mod" Title="Modifier" value="0" min="0" step="1" /></div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SRSS" value="&{template:5eDefault} {{save=1}} {{title=Rod Staff Spell}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+@{save_rod_staff_spell_mod}}>@{save_rod_staff_spell}]]}}"></button>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Experience</h4>
<div class="sheet-row sheet-sub-header sheet-center">
<div class="sheet-col-1-4 sheet-center sheet-small-label">Current XP</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">XP Next Level</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">XP Needed</div>
</div>
<div class="sheet-row sheet-center">
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_current_xp" value=0></div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_xp_next_level" value=0></div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_xp_" value="@{xp_next_level}-@{current_xp}" disabled=true></div>
</div>
</div>
</div>
</div>
<!--Class Abilities -->
<div class="sheet-section-class">
<div class="sheet-row">
<!-- Class Abilities-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Class Abilities</h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-3 sheet-padl sheet-left">Name</div>
<div class="sheet-col-1-6 sheet-padr sheet-center">%</div>
<div class="sheet-col-1-10 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-6 sheet-padr sheet-center">Stat</div>
<div class="sheet-col-1-6 sheet-center">Roll</div>
</div>
<fieldset class="repeating_classability">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr sheet-left"><input type="text" name="attr_ability_name" value="name"></div>
<div class="sheet-col-1-5 sheet-padr sheet-center"><input type="number" name="attr_ability_rank"></div>
<div class="sheet-col-1-4 sheet-padl sheet-padr sheet-center">
<select name="attr_ability_stat">
<option value="0">None </option>
<option value="@{strength_mod}*5">Str</option>
<option value="@{intelligence_mod}*5">Int</option>
<option value="@{wisdom_mod}*5">Wis</option>
<option value="@{dexterity_mod}*5">Dex</option>
<option value="@{constitution_mod}*5">Con</option>
<option value="@{charisma_mod}*5">Cha</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_skill_roll' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=@{ability_name} Skill Check}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d100}<[[@{ability_rank}+@{ability_stat}]] ]]}} "></button>
</div>
</div>
</fieldset>
</div>
<!-- Turn Undead / befriend Animals-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Turn Undead / Befriend Animal</h4>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-right">Undead / Animal</div>
<div class="sheet-col-1-4">Chance</div>
<div class="sheet-col-1-4">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Animal less than 1 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnanimalvalue">
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Calm</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnanimal' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Calm / Befriend Animal less than 1 Hit Dice}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnanimalvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Skeleton / 1 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnskeletonvalue">
<option value="100">No</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnskeleton' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Skeleton / Befriend Animal of 1HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnskeletonvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Zombie / 2 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnzombievalue">
<option value="100">No</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnzombie' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Zombie / Befriend Animal of 2 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnzombievalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Ghoul / 3 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnghoulvalue">
<option value="100">No</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnghoul' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Ghoul / Befriend Animal of 3 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnghoulvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Wight / 4 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnwightvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnwight' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Wraith / Befriend Animal of 5 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnwightvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Wraith / 5 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnwraithvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnwraith' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Mummy / Befriend Animal of 6 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnwraithvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Mummy / 6 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnmummyvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnmummy' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Sprectre / Befriend Animal of 7 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnmummyvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Spectre / 7 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnspectrevalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnspectre' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Vampire / Befriend Animal of 8 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnspectrevalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Vampire / 8 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnvampirevalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnvampire' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Ghost / Befriend Animal of 9 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnvampirevalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Ghost / 9 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnghostvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnghost' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Befriend Animal of 10+ HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnghostvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Animal 10 or greater HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnanimal10hdvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnanimal10hd' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Undead / Befriend Animal}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnanimal10hdvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
</div>
<!-- Basic abilities-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Basic Abilities </h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-2 sheet-padl sheet-center">Ability</div>
<div class="sheet-col-1-4 sheet-padl">Chance</div>
<div class="sheet-col-1-4 sheet-padl">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Detect Stonework</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_detectstonework" value="0"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_detectstonework' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to look for anything special about the stonework}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{detectstonework}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Finding Secret Doors</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_detectsecret" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_detectsecret' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to look for secret doors}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{detectsecret}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Spotting Secret Doors</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_spotsecret" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_detectsecret' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} notices a secret door}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{spotsecret}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Finding Traps</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_findingtraps" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_findingtraps' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to look for traps}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{findingtraps}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Hearing Noise</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_hearingnoise" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_hearingnoise' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to listen for noises}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{hearingnoise}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Opening Doors</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_openingdoors" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_openingdoors' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to force open a door}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{openingdoors}]]}}> "></button>
</div>
</div>
<textarea name="attr_racialnotes" title="Racial notes"></textarea>
</div>
</div>
</div>
<!--Optionals-->
<!--Secondary or Background skills--><!--This section is based from the secondary skill supplement and uses the Optional Skill/Stat (Ability) roller-->
<div class="sheet-section-skills">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Secondary Skills </h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-4 sheet-padl">Name</div>
<div class="sheet-col-1-6 sheet-center">Modifier</div>
<div class="sheet-col-1-6 sheet-center">Considered as</div>
<div class="sheet-col-1-4 sheet-center">Stat</div>
<div class="sheet-col-1-8 sheet-right">Roll</div>
</div>
<fieldset class="repeating_generalskills">
<div class="sheet-row" sheet-center>
<div class="sheet-col-1-4 sheet-padr sheet-left"><input type="text" title="Skill's name" name="attr_skillname" ></div>
<div class="sheet-col-1-6 sheet-padr sheet-center"><input type="number" title="Place skill level and/or other modifiers" name="attr_skillmod" value="0"></div>
<div class="sheet-col-1-4 sheet-padr sheet-left">
<select title="All skills on another class list are considered non-skilled; All non-trained skills from the general list or your character's class are considered General; Selected Skills are considered Class" name="attr_skilled">
<option value="20">Non-Skilled</option>
<option value="17">General</option>
<option value="@{osr}">Class</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-left">
<select title="Choose appropiate attribute that is used by the skill" name="attr_skill_stat">
<option value="0">None</option>
<option value="@{strength_mod}">Str</option>
<option value="@{intelligence_mod}">Int</option>
<option value="@{wisdom_mod}">Wis</option>
<option value="@{dexterity_mod}">Dex</option>
<option value="@{constitution_mod}">Con</option>
<option value="@{charisma_mod}">Cha</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-right">
<button type='roll' class="sheet-roll" name='roll_skill_roll' value="&{template:5eDefault} {{title=@{character_name}'s}} {{subheader=@{skillname} Skill Check}} {{rollname=Success N(0)/Y(1)}}} {{roll=[[{1d20+@{skillmod}+[[@{skill_stat}]]}>@{skilled}]]}} "></button>
</div>
</div>
</fieldset>
</div>
<!--Specializations --><!--This section is based from the optional rules in the combat option supplement-->
<div class="sheet-col-1-2 sheet-padl">
<h4 class="sheet-center">Combat Specialization </h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-4 sheet-padl sheet-padr">Specialization</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">Notes</div>
</div>
<fieldset class="repeating_specialization">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-padr sheet-small-label sheet-left"><input type="text" title="Name of specialization" name="attr_specializationname"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" title="Game info for the specialization" name="attr_specializationnotes"></div>
</div>
</fieldset>
</div>
</div>
</div>
<!--Combat-->
<div class="sheet-section-combat">
<div class="sheet-row sheet-center">
<div class="sheet-col-1-6 sheet-padr">
<h4 class="sheet-center">Hit Points </h4>
<div class="sheet-row sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_HP" step="1"><br/>Current</div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_HP_max" min="1" step="1"><br/>Max</div>
</div>
</div>
</div>
<div class="sheet-col-1-3 sheet-padr">
<h4 class="sheet-center">Movement </h4>
<div class="sheet-row sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" title="Combat Movement" name="attr_move_encounter" value="40" step="10" min="10"><br/>Per Round</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" title="Running in a round" name="attr_move_run" value="(@{move_encounter}*2)" disabled=true><br/>Running</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" title="Alternative Movement, such as swimming or flight, speed" name="attr_move_other" min="0" step="1"><br/>Other</div>
</div>
</div>
</div>
<div class="sheet-col-1-6 sheet-padr">
<h4 class="sheet-center">Attack Bonus </h4>
<div class="sheet-row sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_ab" value="1" step="1"><br/>Attack Bonus</div>
</div>
</div>
</div>
<div class="sheet-col-1-4 sheet-padr">
<h4 class="sheet-center">Initiative</h4>
<div class="sheet-row sheet-center">
<div class="sheet-col-1-3 sheet-right sheet-padl">
<select name="attr_Initiativedice" title="Core rules is 1d6+Dex mod but Alternative dice is listed" value="1d6">
<option value="1d6">1d6</option>
<option value="1d10">1d10</option>
<option value="1d12">1d12</option>
<option value="2d6">2d6</option>
<option value="1d20">1d20</option>
</select>
<div class-"sheet-col-1-8 sheet-center sheet-padr sheet-small-label sheet-vert-bottom">Type</div>
</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center sheet-padl" title="Only enter additional bonuses to initiative here. Your Dex mod is already included in the macro button"><input class="sheet-underlined sheet-center" type="number" name="attr_initiative" value="0" step="1"><br/>Bonus</div>
<input class="sheet-underlined" type="hidden" name="attr_initiative_overall" value="[[ [[@{dexterity_mod}]] ]] + @{initiative}" disabled="disabled">
<div class="sheet-col-1-3 sheet-left">
<button type="roll" class="sheet-roll" name="roll_Initiative" value="&{template:5eDefault} {{title=@{character_name}'s Initiative}} {{roll=[[ @{Initiativedice} + @{initiative_overall} &{tracker} ]]}}">Roll</button>
</div>
</div>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Melee Weapons / Unarmed Attacks </h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Weapon</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Mastery</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Mastery To Hit bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Mastery Damage bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Magic Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Attack bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom">Strength Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom">Damage Dice</div>
<div class="sheet-col-1-24 sheet-center sheet-small-label sheet-vert-bottom sheet-padl">Roll</div>
</div>
<fieldset class="repeating_meleeattacks">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="text" name="attr_meleeweaponname"></div>
<div class="sheet-col-1-7 sheet-padl sheet-padr ">
<select name="attr_masterymeleerank" title="Combat option supplement: Weapon specialization">
<option value="0">not used</option>
<option value="1">Basic</option>
<option value="2">Trained</option>
<option value="3">Skilled</option>
<option value="4">Expert</option>
<option value="5">Master</option>
<option value="6">Grand Master</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-padl sheet-padr sheet-small-label sheet-center"><input type="number" name="attr_meleemasteryhit" value="{ceil(@{masterymeleerank}/2)}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr sheet-small-label sheet-center"><input type="number" name="attr_meleemasterydam" value="{floor(@{masterymeleerank}/2)}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr" title="The magic bonus will be added as a bonus to BOTH the attack and damage rolls"><input type="number" name="attr_meleemagic" value="0" step="1"></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_meleeab" value="@{ab}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_meleestr" value="[[@{strength_mod}]]" disabled=true></div>
<div class="sheet-col-1-10 sheet-padl sheet-padr sheet-center">
<select name="attr_meleedmg">
<option value="1d3">1d3</option>
<option value="1d4">1d4</option>
<option value="1d6">1d6</option>
<option value="1d8">1d8</option>
<option value="1d10">1d10</option>
</select>
</div>
<div class="sheet-col-1-24 sheet-right sheet-padl">
<button type="roll" class="sheet-roll" name="roll_MeleeAttack" value="&{template:5eDefault} {{weapon=1}} {{title=@{character_name} attacks with @{meleeweaponname}}} {{attack=[[{1d20+@{meleemasteryhit}+@{meleemagic}+@{ab}+[[@{strength_mod}]]}]]}} {{damage=[[@{meleedmg}+@{meleemasterydam}+@{meleemagic}+[[@{strength_mod}]] ]]}}"></button>
</div>
</div>
</fieldset>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Missile/Thrown Weapons </h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Weapon</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Mastery</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Mastery To Hit Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Mastery Damage Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Magic Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Attack bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom">Ability Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom">Range</div>
<div class="sheet-col-1-12 sheet-left sheet-padr sheet-small-label sheet-vert-bottom">Damage Dice</div>
<div class="sheet-col-1-24 sheet-right sheet=padl sheet-small-label sheet-vert-bottom sheet-padr">Roll</div>
</div>
<fieldset class="repeating_rangedattacks">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="text" name="attr_rangeweaponname"></div>
<div class="sheet-col-1-7 sheet-padl sheet-padr ">
<select name="attr_masteryrangerank">
<option value="0">not used</option>
<option value="1">Basic</option>
<option value="2">Trained</option>
<option value="3">Skilled</option>
<option value="4">Expert</option>
<option value="5">Master</option>
<option value="6">Grand Master</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_rangemasteryhit" value="{ceil(@{masteryrangerank}/2)}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_rangemasterydam" value="{floor(@{masteryrangerank}/2)}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr" title="The magic bonus will be added as a bonus to BOTH the attack and damage rolls"><input type="number" name="attr_rangemagic" value="0" step="1"></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_rangeab" value="@{ab}" disabled=true></div>
<div class="sheet-col-1-11 sheet-padl sheet-padr sheet-center">
<select name="attr_rangeabilitymod">
<option value="0">None</option>
<option value="[[@{strength_mod}]]">Str</option>
<option value="[[@{intelligence_mod}]]">Int</option>
<option value="[[@{dexterity_mod}]]">Dex</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-padr sheet-center">
<select name="attr_rangerange">
<option value="1">Short</option>
<option value="0">Medium</option>
<option value="-2">long</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-padl sheet-center">
<select name="attr_rangedmg">
<option value="1d3">1d3</option>
<option value="1d4">1d4</option>
<option value="1d6">1d6</option>
<option value="1d8">1d8</option>
</select>
</div>
<div class="sheet-col-1-24 sheet-padl sheet-right">
<button type="roll" class="sheet-roll" name="roll_RangeAttack" value="&{template:5eDefault} {{weapon=1}} {{title=@{character_name} attacks with @{rangeweaponname}}} {{attack=[[{1d20+@{rangemasteryhit}+@{rangemagic}+@{ab}+@{rangeabilitymod}+@{rangerange}}]]}} {{damage=[[@{rangedmg}+@{rangemasterydam}+@{rangemagic}]]}} "></button>
</div>
</div>
</fieldset>
<!-- All about Armor-->
<div class="sheet-row ">
<div class="sheet-col-1 sheet-padr">
<h4 class="sheet-center">Armor Class </h4>
<div class="sheet-row sheet-center">
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_eqarmor">
<option value="11" selected="selected">None</option>
<option value="12">Padded or Quilted</option>
<option value="13">Leather</option>
<option value="14">Studded Leather</option>
<option value="14">Ring Mail</option>
<option value="15">Brigandine</option>
<option value="15">Chain Mail</option>
<option value="16">Scale Mail</option>
<option value="16">Splint Mail</option>
<option value="16">Banded Mail</option>
<option value="17">Plate Mail</option>
<option value="18">Field Plate Mail</option>
<option value="19">Full Plate Mail</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_armor" step="1" value="@{eqarmor}+@{eqarmormagic}" disabled="true"><br/>Armor +</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_dex" step="1" value="[[@{dexterity_mod}]]" disabled="true"><br/>Dexterity Mod +</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_eqarmormagic" value="0" title="Armor bonus" step="1"><br/>Magic Bonus +</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_shield" value="0" title="The total addition to AC for shields including weapon mastery and magical sources " step="1"><br/>Shield +</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_magic" value="0" title="All bonuses from rings of protection and other non shield and armor sources" step="1"><br/>Misc. Magic =</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC" value="(@{AC_armor} + @{AC_shield} + @{AC_magic} + [[@{dexterity_mod}]])" disabled="true"><br/>Armor Class</div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="text" name="attr_eqarmornote" title="This is where you put the special property of the magic such as magic resistance."><br/>Note</div>
</div>
</div>
</div>
</div>
<!--Spellbook-->
<div class="sheet-section-spellbook sheet-center">
<div class="sheet-row sheet sheet-center">
<div class="sheet-col-1"><h4 class="sheet-center">Spell Slots</h4></div>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Slots</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 0</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 1</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 2</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 3</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 4</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 5</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 6</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 7</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Max</div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_o1_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l1_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l2_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l3_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l4_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l5_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l6_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l7_max" value="0"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Used</div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_o1" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l1" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l2" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l3" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l4" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l5" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l6" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l7" value="0"></div>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Spell Book</h4>
<!--Tabs for spell types-->
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab0" value="0" title="Level 0" checked="checked" />
<span class="sheet-spellpagetab sheet-spelltab0">Level 0</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab1" value="1" title="Level 1" />
<span class="sheet-spellpagetab sheet-spelltab1">Level 1</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab2" value="2" title="Level 2" />
<span class="sheet-spellpagetab sheet-spelltab2">Level 2</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab3" value="3" title="Level 3" />
<span class="sheet-spellpagetab sheet-spelltab3">Level 3</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab4" value="4" title="Level 4" />
<span class="sheet-spellpagetab sheet-spelltab4">Level 4</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab5" value="5" title="Level 5" />
<span class="sheet-spellpagetab sheet-spelltab5">Level 5</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab6" value="6" title="Level 6" />
<span class="sheet-spellpagetab sheet-spelltab6">Level 6</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab7" value="7" title="Level 7" />
<span class="sheet-spellpagetab sheet-spelltab7">Level 7</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab99" value="99" title="Show All" />
<span class="sheet-spellpagetab sheet-spelltab99">Show All</span>
<span class="sheet-spacer"></span>
<!--Level 0 Tab-->
<div class="sheet-spell-page0">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Cantrips/Orisions</div>
</div>
<fieldset class="repeating_spellbookcantrip">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 0<input type="hidden" name="attr_spellbaselevel" value="0"><input type="hidden" name="attr_spellfriendlylevel" value="0"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 1 Tab-->
<div class="sheet-spell-page1">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 1</div>
</div>
<fieldset class="repeating_spellbooklvl1">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 1<input type="hidden" name="attr_spellbaselevel" value="1"><input type="hidden" name="attr_spellfriendlylevel" value="1"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 2 Tab-->
<div class="sheet-spell-page2">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 2</div>
</div>
<fieldset class="repeating_spellbooklvl2">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 2<input type="hidden" name="attr_spellbaselevel" value="2"><input type="hidden" name="attr_spellfriendlylevel" value="2"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 3 Tab-->
<div class="sheet-spell-page3">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 3</div>
</div>
<fieldset class="repeating_spellbooklvl3">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 3<input type="hidden" name="attr_spellbaselevel" value="3"><input type="hidden" name="attr_spellfriendlylevel" value="3"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 4 Tab-->
<div class="sheet-spell-page4">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 4</div>
</div>
<fieldset class="repeating_spellbooklvl4">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 4<input type="hidden" name="attr_spellbaselevel" value="4"><input type="hidden" name="attr_spellfriendlylevel" value="4"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 5 Tab-->
<div class="sheet-spell-page5">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 5</div>
</div>
<fieldset class="repeating_spellbooklvl5">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 5<input type="hidden" name="attr_spellbaselevel" value="5"><input type="hidden" name="attr_spellfriendlylevel" value="5"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 6 Tab-->
<div class="sheet-spell-page6">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 6</div>
</div>
<fieldset class="repeating_spellbooklvl6">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 6<input type="hidden" name="attr_spellbaselevel" value="6"><input type="hidden" name="attr_spellfriendlylevel" value="6"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 7 Tab-->
<div class="sheet-spell-page7">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 7</div>
</div>
<fieldset class="repeating_spellbooklvl7">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 7<input type="hidden" name="attr_spellbaselevel" value="7"><input type="hidden" name="attr_spellfriendlylevel" value="7"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
</div>
<!--Inventory -->
<div class="sheet-section-inventory">
<div class="sheet-row ">
<!-- Loot-->
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Coin Carried </h4>
<div class="sheet-row sheet-sub-header sheet-center">
<div class="sheet-col-1-4 sheet-center sheet-small-label">CP</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">SP</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">GP</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Total Value(GP)</div>
</div>
<div class="sheet-row sheet-center">
<div class="sheet-col-1-4" title="Copper Pieces"><input type="number" name="attr_cp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-4" title="Silver Pieces"><input type="number" name="attr_sp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-4" title="Gold Pieces"><input type="number" name="attr_gp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-4" title="Total (in Gold Pieces)"><input type="number" name="attr_money_total_gp" value="(@{cp} / 100) + (@{sp} / 10) + @{gp} " disabled="disabled"></div>
</div>
<h4 class="sheet-center">Encumbrance </h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label">Equipment</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Coin</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Other</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padr">Total</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_inventory_weight" value="0" title="Total up your equipment Worn and Carried then place amount here"></div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_coin_weight" value="((@{CP} + @{SP} + @{GP})/10)" disabled="disabled"></div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_other_weight" value="0" min="0"></div>
<div class="sheet-col-1-4 sheet-center sheet-padr"><input type="number" name="attr_total_weight" value="@{inventory_weight} + @{coin_weight} + @{other_weight}" disabled="disabled"></div>
</div>
</div>
<!-- Inventory tab -->
<div class="sheet-col-1-2">
<h4 class="sheet-center">Treasure Notes </h4>
<textarea name="attr_lootnotes"></textarea>
</div>
</div>
<h4 class="sheet-center">Equipment </h4>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab1" value="1" title="Page 1" checked="checked" />
<span class="sheet-inventorytab sheet-inventorytab1">Worn</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab2" value="2" title="Page 2" />
<span class="sheet-inventorytab sheet-inventorytab2">Carried</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab3" value="3" title="Page 3" />
<span class="sheet-inventorytab sheet-inventorytab3">Transportation</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab4" value="4" title="Page 4" />
<span class="sheet-inventorytab sheet-inventorytab4">Elsewhere</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab99" value="99" title="Show All" />
<span class="sheet-inventorytab sheet-inventorytab99">Show All</span>
<span class="sheet-spacer"></span>
<!-- Inventory Page 1-->
<div class="sheet-inventory-page1">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle1" value="What is being worn such as armor or clothing" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Weight</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab1">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemwornenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 2-->
<div class="sheet-inventory-page2">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle2" value="What is being carried in sacks or backpack" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Weight</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab2">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemcarriedenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 3-->
<div class="sheet-inventory-page3">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle3" value="What is carried by your horse or wagon" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Weight</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab3">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemtransportationenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 4-->
<div class="sheet-inventory-page4">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle4" value="What is stored elsewhere such as in a vault or stronghold" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Weight</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab4">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemelsewhereenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
</div>
<!-- End of PC Sheet-->
<!--Footer -->
<div class="sheet-row sheet-footer">
<div class="sheet-col-1 sheet-small-label sheet-center">
<img src="http://i.imgur.com/QQpi55r.png" width=300 >
</div>
</div>
</div>
<!-- Roll Templates -->
<rolltemplate class="sheet-rolltemplate-5eDefault">
<div class="sheet-rt-card">
<div class="sheet-rt-header{{#weapon}} sheet-weapon{{/weapon}}{{#spell}} sheet-spell{{/spell}}{{#ability}} sheet-ability{{/ability}}{{#save}} sheet-save{{/save}}{{#deathsave}} sheet-deathsave{{/deathsave}}">
<div class="sheet-rt-title">{{title}}</div>
{{#subheader}}
<div class="sheet-rt-subheader">{{subheader}}{{#subheaderright}} &bullet; {{subheaderright}}{{/subheaderright}}</div>
{{/subheader}}
{{#subheader2}}
<div class="sheet-rt-subheader">{{subheader2}}{{#subheaderright2}} &bullet; {{subheaderright2}}{{/subheaderright2}}</div>
{{/subheader2}}
</div>
{{#emote}}
<p class="sheet-rt-emote">{{character_name}} {{emote}}</p>
{{/emote}}
<div class="sheet-main-content">
<!--Weapon based attacks-->
{{#attack}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Attack</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">hits AC {{attack}}</div>
</div>
{{/attack}}
{{#damage}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Damage</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{damage}}</div>
</div>
{{/damage}}
{{#attackshowinfoblock}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-center">Range</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{attackrange}}</div>
</div>
{{/attackshowinfoblock}}
<!--Spellcasting-->
{{#spellshowinfoblock}}
<div class="sheet-row sheet-padb">
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-right-dotted"><span class="sheet-rt-key">Cast Time</span><br/><span class="sheet-rt-value">{{spellcasttime}}</span></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-left-dotted"><span class="sheet-rt-key">Duration</span><br/><span class="sheet-rt-value">{{spellduration}}</span></div>
<div class="sheet-col-1 sheet-border-top-dotted"></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-right-dotted"><span class="sheet-rt-key">Target/AoE</span><br/><span class="sheet-rt-value">{{spelltarget}}</span></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-left-dotted"><span class="sheet-rt-key">Range</span><br/><span class="sheet-rt-value">{{spellrange}}</span></div>
</div>
{{/spellshowinfoblock}}
{{#spellshowattack}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Attack</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellattack}} AC Hit</div>
</div>
{{/spellshowattack}}
{{#spellshowsavethrow}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Save</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellsavestat}}</div>
</div>
{{/spellshowsavethrow}}
{{#spellshowhealing}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Healing</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellhealing}} HP healed</div>
</div>
{{/spellshowhealing}}
{{#spellshowdamage}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Damage</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spelldamage}}</div>
</div>
{{/spellshowdamage}}
{{#spellshoweffects}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Effect</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spelleffect}}</div>
</div>
{{/spellshoweffects}}
{{#spellshowsavethrow}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Save success</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellsavesuccess}}</div>
</div>
{{/spellshowsavethrow}}
{{#spellshowdesc}}
<div class="sheet-row">
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-key">Spell Description</div>
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-value">{{spelldescription}}</div>
</div>
{{/spellshowdesc}}
<!--NPC-->
{{#npccorestats}}
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Stat</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Score</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Mod</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">STR</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_strength}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_strength_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">DEX</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_dexterity}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_dexterity_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">CON</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_constitution}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_constitution_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">INT</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_intelligence}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_intelligence_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">WIS</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_wisdom}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_wisdom_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">CHA</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_charisma}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_charisma_mod}}</div>
</div>
{{/npccorestats}}
<!--Generic section-->
{{#freetext}}
<div class="sheet-row">
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-key-wide">{{freetextname}}</div>
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-value">{{freetext}}</div>
</div>
{{/freetext}}
{{#roll}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{rollname}}</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{roll}}</div>
</div>
{{/roll}}
<!--Outputall-->
{{#outputall}}
{{#allprops() outputall title subheader subheaderright subheader2 subheaderright2 emote weapon spell ability save deathsave}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{key}}</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{value}}</div>
</div>
{{/allprops() outputall title subheader subheaderright subheader2 subheaderright2 emote weapon spell ability save deathsave}}
{{/outputall}}
<!--DEBUG-->
{{#debug}}
{{#allprops()}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{key}} (DEBUG)</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{value}}</div>
</div>
{{/allprops()}}
{{/debug}}
</div>
</div>
</rolltemplate>t type=“text/worker”>
on("sheet:opened", function() {
getAttrs(['list', 'of', 'attrs', 'on', 'the', 'old', 'sheet', 'already_transitioned'], function(attrs) {
if(attr.already_transitioned !== '1') {
var hasOldData = false;
var updates = {};
_.each(attrs, function(value, key) {
if(value) {
hasOldData = true;
}
});
if(!hasOldData) {
updates.already_transitioned = '1';
setAttrs(updates);
}
else {
getAttrs(['list', 'of', 'all', 'attrs', 'on', 'the', 'old', 'sheet'], function(oldAttrs) {
attr_character_name = attr_name;
attr_strength = attr_STR;
attr_intelligence = attr_INT;
attr_wisdom = attr_WIS;
attr_dexterity = attr_DEX;
attr_constitution = attr_CON;
attr_charisma = attr_CHA;
attr_HP_max = attr_hp_max;
attr_HP = attr_hp;
attr_ab = attr_ab_normal;
attr_move_encounter = attr_movement;
attr_current_xp = attr_currentxp;
attr_xp_next_level = attr_xpnextlevel;
attr_save_death_ray = attr_deathrayorpoison;
attr_save_magic_wand = attr_magicwands;
attr_save_paralysis = attr_paralysispetrification;
attr_save_dragons_breath = attr_dragonbreath;
attr_save_rod_staff_spell = attr_rodsstavesspells;
attr_lootnotes = attr_money;
updates.already_transitioned = '1';
setAttrs(updates);
});
}
}
});
});
</script>
<!-- Sheet code -->
<div class="sheet-overall-wrapper">
<div class="sheet-character">
<!--Main Header -->
<div class="sheet-core-header sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-margin-top"><img src="http://imgur.com/TprZw4p.png" alt="Basic Fantasy RPG" width=150 ></div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_character_name"><br/>Character Name</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_class"><br/>Class</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_level" value="1"><br/>Level</div>
</div>
</div>
<!-- Tabs-->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" title="Main" checked="checked" />
<span class="sheet-tab sheet-tab1">Main</span> <!--line 32 -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" />
<span class="sheet-tab sheet-tab3">Abilities</span> <!--line 208 -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" />
<span class="sheet-tab sheet-tab2">Optionals</span> <!--line -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab4" value="4" />
<span class="sheet-tab sheet-tab4">Combat</span> <!--line -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab5" value="5" />
<span class="sheet-tab sheet-tab5">Spellbook</span> <!--line -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab6" value="6" />
<span class="sheet-tab sheet-tab6">Equipment</span> <!--line -->
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab99" value="99" />
<span class="sheet-tab sheet-tab99">Show All</span>
<span class="sheet-spacer"></span>
<!--Main Page-->
<div class="sheet-section-main">
<input class="sheet-is-npc" type="checkbox" name="attr_is_npc" value="1"><span class="sheet-is-npc-tab"></span>
<div class="sheet-npcinfo">
<div class="sheet-row">
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_hitdice"><br/>Hit Dice</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_numappear"><br/>Number<br/>Appearing</div>
<div class="sheet-col-1-16 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_saveas"><br/>Save As</div>
<div class="sheet-col-1-16 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_morale"><br/>Morale</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_treasuretype"><br/>Treasure Type</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_monstertype"><br/>Monster Type</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_frequency"><br/>Frequency</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_xpvalue"><br/>XP Value</div>
</div>
</div>
<h4 class="sheet-center">Appearance, Vision, Languages and Alignment</h4>
<div class="sheet-row">
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_race"><br/>Race</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="number" name="attr_age"><br/>Age</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_height"><br/>Height</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_weight"><br/>Weight</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_eyes"><br/>Eyes</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_hair"><br/>Hair</div>
<div class="sheet-col-1-7 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_size"><br/>Size</div>
</div>
<div class="sheet-row sheet-padb">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_vision"><br/>Vision</div>
<div class="sheet-col-2-3 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_prolanguages"><br/>Known Languages</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_alignment"><br/>Alignment</div>
</div>
<!-- The abiltity adjustment is fitted to a 3rd order polynomial that gives the correct value between 3 and 18-->
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Abilities</h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Score</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">Adjust.</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Roll</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Notes</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_strength" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Str</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_strength_mod" value="(round(@{strength}*@{strength}*@{strength}*0.002831-@{strength}*@{strength}*0.08918+1.164*@{strength}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Str" value="&{template:5eDefault} {{ability=1}} {{title=Strength Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{strength_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Attack&nbsp;Dam.&nbsp;Open&nbsp;Doors</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_intelligence" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Int</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_intelligence_mod" value="(round(@{intelligence}*@{intelligence}*@{intelligence}*0.002831-@{intelligence}*@{intelligence}*0.08918+1.164*@{intelligence}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Int" value="&{template:5eDefault} {{ability=1}} {{title=Intelligence Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{intelligence_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Languages</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_wisdom" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Wis</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_wisdom_mod" value="(round(@{wisdom}*@{wisdom}*@{wisdom}*0.002831-@{wisdom}*@{wisdom}*0.08918+1.164*@{wisdom}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Wis" value="&{template:5eDefault} {{ability=1}} {{title=Wisdom Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{wisdom_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Save&nbsp;vs.&nbsp;Spells</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_dexterity" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Dex</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_dexterity_mod" value="(round(@{dexterity}*@{dexterity}*@{dexterity}*0.002831-@{dexterity}*@{dexterity}*0.08918+1.164*@{dexterity}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Dex" value="&{template:5eDefault} {{ability=1}} {{title=Dexterity Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{dexterity_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Missile&nbsp;Attack&nbsp;AC</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_constitution" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Con</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_constitution_mod" value="(round(@{constitution}*@{constitution}*@{constitution}*0.002831-@{constitution}*@{constitution}*0.08918+1.164*@{constitution}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Con" value="&{template:5eDefault} {{ability=1}} {{title=Constitution Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{constitution_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Hit&nbsp;Points/Level</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_charisma" min="3" max="18" step="1" value="10" /></div>
<div class="sheet-col-1-6 sheet-core-stat-label">Cha</div>
<div class="sheet-col-1-6">
<input type="number" name="attr_charisma_mod" value="(round(@{charisma}*@{charisma}*@{charisma}*0.002831-@{charisma}*@{charisma}*0.08918+1.164*@{charisma}-5.667))" disabled="disabled" />
</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_Cha" value="&{template:5eDefault} {{ability=1}} {{title=Charisma Check}} {{subheader=@{character_name}}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20+[[@{charisma_mod}]]}>@{osr}]]}}"></button>
</div>
<div class="sheet-col-1-4 sheet-tiny-note">Reactions</div>
</div>
<!--OSR stands for Optional Skill/Stat(ability) roll page 153 in core rules-->
<div class="sheet-row">
<div class="sheet-col-1-6"><input type="number" name="attr_osr" min="0" max="17" step="1" value="17"/></div>
<div class="sheet-col-1-6"></div>
<div class="sheet-col-1-6"></div>
<div class="sheet-col-1-8 sheet-center"></div>
<div class="sheet-col-1-4 sheet-tiny-note">Optional&nbsp;Ability&nbsp;Check&nbsp;Score</div>
</div>
</div>
<!--Saving Throws and Experience-->
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Saving Throws</h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Score</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_death_ray" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Death Ray or Poison</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SDR" value="&{template:5eDefault} {{save=1}} {{title=Death Ray or Poison}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20}>@{save_death_ray}]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_magic_wand" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Magic Wands</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SMW" value="&{template:5eDefault} {{save=1}} {{title=Magic Wands}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20}>@{save_magic_wand}]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_paralysis" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Paralysis or Turn to Stone</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SPTTS" value="&{template:5eDefault} {{save=1}} {{title=Paralysis or Turn to Stone}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20}>@{save_paralysis}]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_dragons_breath" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Dragon's Breath</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SDB" value="&{template:5eDefault} {{save=1}} {{title=Dragon's Breath}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20}>@{save_dragons_breath}]]}}"></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="number" name="attr_save_rod_staff_spell" min="1" step="1" /></div>
<div class="sheet-col-1-2 sheet-small-label">Rod, Staff, or Spell</div>
<div class="sheet-col-1-8 sheet-center">
<button type="roll" name="roll_SRSS" value="&{template:5eDefault} {{save=1}} {{title=Rod Staff Spell}} {{subheader=@{character_name} Saving Throw}} {{rollname=Success: N(0)/Y(1))}} {{roll=[[{1d20}>@{save_rod_staff_spell}]]}}"></button>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Experience</h4>
<div class="sheet-row sheet-sub-header sheet-center">
<div class="sheet-col-1-4 sheet-center sheet-small-label">Current XP</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">XP Next Level</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">XP Needed</div>
</div>
<div class="sheet-row sheet-center">
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" name="attr_current_xp" value=0></div>
<div class="sheet-col-1-4 sheet-center"><input type="text" name="attr_xp_next_level" value=0></div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_xp_" value="@{xp_next_level}-@{current_xp}" disabled=true></div>
</div>
</div>
</div>
</div>
<!--Abilities -->
<div class="sheet-section-class">
<div class="sheet-row">
<!-- Class Abilities-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Class Abilities</h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-3 sheet-padl sheet-left">Name</div>
<div class="sheet-col-1-6 sheet-padr sheet-center">%</div>
<div class="sheet-col-1-10 sheet-center sheet-small-label">&nbsp;</div>
<div class="sheet-col-1-6 sheet-padr sheet-center">Stat</div>
<div class="sheet-col-1-6 sheet-center">Roll</div>
</div>
<fieldset class="repeating_classability">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr sheet-left"><input type="text" name="attr_ability_name" value="name"></div>
<div class="sheet-col-1-5 sheet-padr sheet-center"><input type="number" name="attr_ability_rank"></div>
<div class="sheet-col-1-4 sheet-padl sheet-padr sheet-center">
<select name="attr_ability_stat">
<option value="0">None </option>
<option value="@{strength_mod}*5">Str</option>
<option value="@{intelligence_mod}*5">Int</option>
<option value="@{wisdom_mod}*5">Wis</option>
<option value="@{dexterity_mod}*5">Dex</option>
<option value="@{constitution_mod}*5">Con</option>
<option value="@{charisma_mod}*5">Cha</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_skill_roll' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=@{ability_name} Skill Check}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d100}<[[@{ability_rank}+@{ability_stat}]] ]]}} "></button>
</div>
</div>
</fieldset>
</div>
<!-- Turn Undead / befriend Animals-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Turn Undead / Befriend Animal</h4>
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-right">Undead / Animal</div>
<div class="sheet-col-1-4">Chance</div>
<div class="sheet-col-1-4">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Animal less than 1 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnanimalvalue">
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Calm</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnanimal' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Calm / Befriend Animal less than 1 Hit Dice}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnanimalvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Skeleton / 1 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnskeletonvalue">
<option value="100">No</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnskeleton' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Skeleton / Befriend Animal of 1HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnskeletonvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Zombie / 2 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnzombievalue">
<option value="100">No</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnzombie' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Zombie / Befriend Animal of 2 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnzombievalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Ghoul / 3 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnghoulvalue">
<option value="100">No</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnghoul' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Ghoul / Befriend Animal of 3 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnghoulvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Wight / 4 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnwightvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnwight' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Wraith / Befriend Animal of 5 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnwightvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Wraith / 5 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnwraithvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnwraith' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Mummy / Befriend Animal of 6 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnwraithvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Mummy / 6 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnmummyvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnmummy' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Sprectre / Befriend Animal of 7 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnmummyvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Spectre / 7 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnspectrevalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="0">Turn</option>
<option value="0">Calm</option>
<option value="0">Destroyed</option>
<option value="0">Befriend</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnspectre' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Vampire / Befriend Animal of 8 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnspectrevalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Vampire / 8 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnvampirevalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnvampire' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Ghost / Befriend Animal of 9 HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnvampirevalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Ghost / 9 HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnghostvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnghost' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Befriend Animal of 10+ HD}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnghostvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Animal 10 or greater HD</div>
<div class="sheet-col-1-4 sheet-padl sheet-center">
<select name="attr_turnanimal10hdvalue">
<option value="100">No</option>
<option value="20">20</option>
<option value="19">19</option>
<option value="18">18</option>
<option value="17">17</option>
<option value="15">15</option>
<option value="13">13</option>
<option value="11">11</option>
<option value="9">9</option>
<option value="7">7</option>
<option value="5">5</option>
<option value="3">3</option>
<option value="2">2</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_turnanimal10hd' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name}'s}} {{subheader=Turn Undead / Befriend Animal}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d20}>@{turnanimal10hdvalue}]] and could effect [[2d6]]HD}} "></button>
</div>
</div>
</div>
<!-- Basic abilities-->
<div class="sheet-col-1-3">
<h4 class="sheet-center">Basic Abilities </h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-2 sheet-padl sheet-center">Ability</div>
<div class="sheet-col-1-4 sheet-padl">Chance</div>
<div class="sheet-col-1-4 sheet-padl">Roll</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Detect Stonework</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_detectstonework" value="0"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_detectstonework' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to look for anything special about the stonework}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{detectstonework}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Finding Secret Doors</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_detectsecret" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_detectsecret' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to look for secret doors}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{detectsecret}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Finding Traps</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_findingtraps" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_findingtraps' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to look for traps}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{findingtraps}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Hearing Noise</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_hearingnoise" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_hearingnoise' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to listen for noises}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{hearingnoise}]]}}> "></button>
</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr sheet-small-label sheet-right">Opening Doors</div>
<div class="sheet-col-1-4 sheet-padl sheet-center"><input type="number" name="attr_openingdoors" value="1"></div>
<div class="sheet-col-1-8 sheet-padl sheet-center">
<button type='roll' class="sheet-roll" name='roll_openingdoors' value="&{template:5eDefault} {{ability=1}} {{title=@{character_name} wants to force open a door}} {{rollname=Success N(0)/Y(1)}} {{roll=[[{1d6}<@{openingdoors}]]}}> "></button>
</div>
</div>
</div>
</div>
</div>
<!--Optionals-->
<!--Secondary or Background skills--><!--This section is based from the secondary skill supplement and uses the Optional Skill/Stat (Ability) roller-->
<div class="sheet-section-skills">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Secondary Skills </h4>
<div class="sheet-row sheet-sub-header sheet-small-label">
<div class="sheet-col-1-4 sheet-padl">Name</div>
<div class="sheet-col-1-6 sheet-center">Modifier</div>
<div class="sheet-col-1-6 sheet-center">lists as</div>
<div class="sheet-col-1-4 sheet-center">Stat</div>
<div class="sheet-col-1-8 sheet-right">Roll</div>
</div>
<fieldset class="repeating_generalskills">
<div class="sheet-row" sheet-center>
<div class="sheet-col-1-4 sheet-padr sheet-left"><input type="text" name="attr_skillname" ></div>
<div class="sheet-col-1-6 sheet-padr sheet-center"><input type="number" name="attr_skillmod" value="0"></div>
<div class="sheet-col-1-4 sheet-padr sheet-left">
<select name="attr_skilled">
<option value="20">Non-class</option>
<option value="17">General</option>
<option value="@{osr}">Class</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-left">
<select name="attr_skill_stat">
<option value="0">None</option>
<option value="@{strength_mod}">Str</option>
<option value="@{intelligence_mod}">Int</option>
<option value="@{wisdom_mod}">Wis</option>
<option value="@{dexterity_mod}">Dex</option>
<option value="@{constitution_mod}">Con</option>
<option value="@{charisma_mod}">Cha</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-padl sheet-right">
<button type='roll' class="sheet-roll" name='roll_skill_roll' value="&{template:5eDefault} {{title=@{character_name}'s}} {{subheader=@{skillname} Skill Check}} {{rollname=Success N(0)/Y(1)}}} {{roll=[[{1d20+@{skillmod}+[[@{skill_stat}]]}>@{skilled}]]}} "></button>
</div>
</div>
</fieldset>
</div>
</div>
</div>
<!--Combat-->
<div class="sheet-section-combat">
<div class="sheet-row sheet-center">
<div class="sheet-col-1-6 sheet-padr">
<h4 class="sheet-center">Hit Points </h4>
<div class="sheet-row sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_HP" step="1"><br/>Current</div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_HP_max" min="1" step="1"><br/>Max</div>
</div>
</div>
</div>
<div class="sheet-col-1-3 sheet-padr">
<h4 class="sheet-center">Movement </h4>
<div class="sheet-row sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_move_encounter" value="40" step="10" min="10"><br/>Per Round</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_move_run" value="(@{move_encounter}*2)" disabled=true><br/>Running</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_move_normal" value="((@{move_encounter}*3))" disabled=true><br/>Per Turn</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_move_other" min="0" step="1"><br/>Other</div>
</div>
</div>
</div>
<div class="sheet-col-1-6 sheet-padr">
<h4 class="sheet-center">Attack Bonus </h4>
<div class="sheet-row sheet-padb">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_ab" value="1" step="1"><br/>Attack Bonus</div>
</div>
</div>
</div>
<div class="sheet-col-1-4 sheet-padr">
<h4 class="sheet-center">Initiative</h4>
<div class="sheet-row sheet-center">
<div class="sheet-col-1-3 sheet-right sheet-padl">
<select name="attr_Initiativedice" value="1d6">
<option value="1d6">1d6</option>
<option value="1d10">1d10</option>
<option value="1d12">1d12</option>
<option value="2d6">2d6</option>
<option value="1d20">1d20</option>
</select>
<div class-"sheet-col-1-8 sheet-center sheet-padr sheet-small-label sheet-vert-bottom">Type</div>
</div>
<div class="sheet-col-1-4 sheet-small-label sheet-center sheet-padl" title="Only enter additional bonuses to initiative here. Your Dex mod is already included in the macro button"><input class="sheet-underlined sheet-center" type="number" name="attr_initiative" value="0" step="1"><br/>Bonus</div>
<input class="sheet-underlined" type="hidden" name="attr_initiative_overall" value="[[ [[@{dexterity_mod}]] ]] + @{initiative}" disabled="disabled">
<div class="sheet-col-1-3 sheet-left">
<button type="roll" class="sheet-roll" name="roll_Initiative" value="&{template:5eDefault} {{title=@{character_name}'s Initiative}} {{roll=[[ @{Initiativedice} + @{initiative_overall} &{tracker} ]]}}">Roll</button>
</div>
</div>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Melee Weapons / Unarmed Attacks </h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Weapon</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Mastery</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Mastery To Hit bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Mastery Damage bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Magic Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Attack bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom">Strength Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom">Damage Dice</div>
<div class="sheet-col-1-24 sheet-center sheet-small-label sheet-vert-bottom sheet-padl">Roll</div>
</div>
<fieldset class="repeating_meleeattacks">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="text" name="attr_meleeweaponname"></div>
<div class="sheet-col-1-7 sheet-padl sheet-padr ">
<select name="attr_masteryrank">
<option value="0">None</option>
<option value="1">Basic</option>
<option value="2">Trained</option>
<option value="3">Skilled</option>
<option value="4">Expert</option>
<option value="5">Master</option>
<option value="6">Grand Master</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-padl sheet-padr sheet-small-label sheet-center"><input type="text" name="attr_meleemasteryhit" value="{ceil(@{masteryrank}/2)}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr sheet-small-label sheet-center"><input type="text" name="attr_meleemasterydam" value="{floor(@{masteryrank}/2)}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr" title="The magic bonus will be added as a bonus to BOTH the attack and damage rolls"><input type="number" name="attr_meleemagic" value="0" step="1"></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_meleeab" value="@{ab}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_meleestr" value="[[@{strength_mod}]]" disabled=true></div>
<div class="sheet-col-1-10 sheet-padl sheet-padr sheet-center">
<select name="attr_meleedmg">
<option value="1d3">1d3</option>
<option value="1d4">1d4</option>
<option value="1d6">1d6</option>
<option value="1d8">1d8</option>
<option value="1d10">1d10</option>
</select>
</div>
<div class="sheet-col-1-24 sheet-right sheet-padl">
<button type="roll" class="sheet-roll" name="roll_MeleeAttack" value="&{template:5eDefault} {{weapon=1}} {{title=@{character_name} attacks with @{meleeweaponname}}} {{attack=[[{1d20+@{meleemasteryhit}+@{meleemagic}+@{ab}+[[@{strength_mod}]]}]]}} {{damage=[[@{meleedmg}+@{meleemasterydam}+@{meleemagic}+[[@{strength_mod}]] ]]}}"></button>
</div>
</div>
</fieldset>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Missile/Thrown Weapons </h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Weapon</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Mastery</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Mastery To Hit Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Mastery Damage Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Magic Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom sheet-padr">Attack bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom">Ability Bonus</div>
<div class="sheet-col-1-12 sheet-left sheet-small-label sheet-vert-bottom">Range</div>
<div class="sheet-col-1-12 sheet-left sheet-padr sheet-small-label sheet-vert-bottom">Damage Dice</div>
<div class="sheet-col-1-24 sheet-right sheet=padl sheet-small-label sheet-vert-bottom sheet-padr">Roll</div>
</div>
<fieldset class="repeating_rangedattacks">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-padr"><input type="text" name="attr_rangeweaponname"></div>
<div class="sheet-col-1-7 sheet-padl sheet-padr ">
<select name="attr_masteryrank">
<option value="0">None</option>
<option value="1">Basic</option>
<option value="2">Trained</option>
<option value="3">Skilled</option>
<option value="4">Expert</option>
<option value="5">Master</option>
<option value="6">Grand Master</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_rangemasteryhit" value="{ceil(@{masteryrank}/2)}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_rangemasterydam" value="{floor(@{masteryrank}/2)}" disabled=true></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr" title="The magic bonus will be added as a bonus to BOTH the attack and damage rolls"><input type="number" name="attr_rangemagic" value="0" step="1"></div>
<div class="sheet-col-1-12 sheet-padl sheet-padr"><input type="number" name="attr_rangeab" value="@{ab}" disabled=true></div>
<div class="sheet-col-1-11 sheet-padl sheet-padr sheet-center">
<select name="attr_rangeabilitymod">
<option value="0">None</option>
<option value="[[@{strength_mod}]]">Str</option>
<option value="[[@{intelligence_mod}]]">Int</option>
<option value="[[@{dexterity_mod}]]">Dex</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-padr sheet-center">
<select name="attr_rangerange">
<option value="1">Short</option>
<option value="0">Medium</option>
<option value="-2">long</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-padl sheet-center">
<select name="attr_rangedmg">
<option value="1d3">1d3</option>
<option value="1d4">1d4</option>
<option value="1d6">1d6</option>
<option value="1d8">1d8</option>
</select>
</div>
<div class="sheet-col-1-24 sheet-padl sheet-right">
<button type="roll" class="sheet-roll" name="roll_RangeAttack" value="&{template:5eDefault} {{weapon=1}} {{title=@{character_name} attacks with @{rangeweaponname}}} {{attack=[[{1d20+@{rangemasteryhit}+@{rangemagic}+@{ab}+@{rangeabilitymod}+@{rangerange}}]]}} {{damage=[[@{rangedmg}+@{rangemasterydam}+@{rangemagic}]]}} "></button>
</div>
</div>
</fieldset>
<!-- All about Armor-->
<div class="sheet-row ">
<div class="sheet-col-1 sheet-padr">
<h4 class="sheet-center">Armor Class </h4>
<div class="sheet-row sheet-center">
<div class="sheet-col-1-6 sheet-small-label sheet-center">
<select name="attr_eqarmor">
<option value="11" selected="selected">None</option>
<option value="12">Padded or Quilted</option>
<option value="13">Leather</option>
<option value="14">Studded Leather</option>
<option value="14">Ring Mail</option>
<option value="15">Brigandine</option>
<option value="15">Chain Mail</option>
<option value="16">Scale Mail</option>
<option value="16">Splint Mail</option>
<option value="16">Banded Mail</option>
<option value="17">Plate Mail</option>
<option value="18">Field Plate Mail</option>
<option value="19">Full Plate Mail</option>
</select>
</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_armor" step="1" value="@{eqarmor}+@{eqarmormagic}" disabled="true"><br/>Armor +</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_dex" step="1" value="[[@{dexterity_mod}]]" disabled="true"><br/>Dexterity Mod +</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_eqarmormagic" value="0" title="Armor bonus" step="1"><br/>Magic Bonus +</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_shield" value="0" title="The total addition to AC for shields including weapon mastery and magical sources " step="1"><br/>Shield +</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC_magic" value="0" title="All bonuses from rings of protection and other non shield and armor sources" step="1"><br/>Misc. Magic =</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC" value="(@{AC_armor} + @{AC_shield} + @{AC_magic} + [[@{dexterity_mod}]])" disabled="true"><br/>Armor Class</div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="text" name="attr_eqarmornote" title="This is where you put the special property of the magic such as magic resistance."><br/>Note</div>
</div>
</div>
</div>
</div>
<!--Spellbook-->
<div class="sheet-section-spellbook sheet-center">
<div class="sheet-row sheet sheet-center">
<div class="sheet-col-1"><h4 class="sheet-center">Spell Slots</h4></div>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Slots</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 0</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 1</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 2</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 3</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 4</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 5</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 6</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Level 7</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Max</div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_o1_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l1_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l2_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l3_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l4_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l5_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l6_max" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l7_max" value="0"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Used</div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_o1" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l1" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l2" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l3" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l4" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l5" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l6" value="0"></div>
<div class="sheet-col-1-12"><input type="number" name="attr_spell_slots_l7" value="0"></div>
</div>
</div>
<span class="sheet-spacer"></span>
<h4 class="sheet-center">Spell Book</h4>
<!--Tabs for spell types-->
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab0" value="0" title="Level 0" checked="checked" />
<span class="sheet-spellpagetab sheet-spelltab0">Level 0</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab1" value="1" title="Level 1" />
<span class="sheet-spellpagetab sheet-spelltab1">Level 1</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab2" value="2" title="Level 2" />
<span class="sheet-spellpagetab sheet-spelltab2">Level 2</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab3" value="3" title="Level 3" />
<span class="sheet-spellpagetab sheet-spelltab3">Level 3</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab4" value="4" title="Level 4" />
<span class="sheet-spellpagetab sheet-spelltab4">Level 4</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab5" value="5" title="Level 5" />
<span class="sheet-spellpagetab sheet-spelltab5">Level 5</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab6" value="6" title="Level 6" />
<span class="sheet-spellpagetab sheet-spelltab6">Level 6</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab7" value="7" title="Level 7" />
<span class="sheet-spellpagetab sheet-spelltab7">Level 7</span>
<input type="radio" name="attr_spellpagetab" class="sheet-spellpagetab sheet-spelltab99" value="99" title="Show All" />
<span class="sheet-spellpagetab sheet-spelltab99">Show All</span>
<span class="sheet-spacer"></span>
<!--Level 0 Tab-->
<div class="sheet-spell-page0">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Cantrips/Orisions</div>
</div>
<fieldset class="repeating_spellbookcantrip">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 0<input type="hidden" name="attr_spellbaselevel" value="0"><input type="hidden" name="attr_spellfriendlylevel" value="0"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 1 Tab-->
<div class="sheet-spell-page1">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 1</div>
</div>
<fieldset class="repeating_spellbooklvl1">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 1<input type="hidden" name="attr_spellbaselevel" value="1"><input type="hidden" name="attr_spellfriendlylevel" value="1"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 2 Tab-->
<div class="sheet-spell-page2">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 2</div>
</div>
<fieldset class="repeating_spellbooklvl2">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 2<input type="hidden" name="attr_spellbaselevel" value="2"><input type="hidden" name="attr_spellfriendlylevel" value="2"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 3 Tab-->
<div class="sheet-spell-page3">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 3</div>
</div>
<fieldset class="repeating_spellbooklvl3">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 3<input type="hidden" name="attr_spellbaselevel" value="3"><input type="hidden" name="attr_spellfriendlylevel" value="3"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 4 Tab-->
<div class="sheet-spell-page4">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 4</div>
</div>
<fieldset class="repeating_spellbooklvl4">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 4<input type="hidden" name="attr_spellbaselevel" value="4"><input type="hidden" name="attr_spellfriendlylevel" value="4"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 5 Tab-->
<div class="sheet-spell-page5">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 5</div>
</div>
<fieldset class="repeating_spellbooklvl5">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 5<input type="hidden" name="attr_spellbaselevel" value="5"><input type="hidden" name="attr_spellfriendlylevel" value="5"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 6 Tab-->
<div class="sheet-spell-page6">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 6</div>
</div>
<fieldset class="repeating_spellbooklvl6">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 6<input type="hidden" name="attr_spellbaselevel" value="6"><input type="hidden" name="attr_spellfriendlylevel" value="6"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
<!--Level 7 Tab-->
<div class="sheet-spell-page7">
<div class="sheet-row sheet-spell-header">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Level 7</div>
</div>
<fieldset class="repeating_spellbooklvl7">
<!-- BEGIN spell row -->
<div class="sheet-margin-bottom sheet-padr sheet-padl">
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Spell Level</div>
<div class="sheet-col-1-3 sheet-vert-bottom sheet-center sheet-small-label">Spell name</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast time</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-12 sheet-vert-middle sheet-center sheet-padr">Level 7<input type="hidden" name="attr_spellbaselevel" value="7"><input type="hidden" name="attr_spellfriendlylevel" value="7"></div>
<div class="sheet-col-1-3 sheet-vert-middle sheet-padr"><input type="text" class=" sheet-center" name="attr_spellname"></div>
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellcasttime"></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Target/Area of Effect</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-8 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Info</div>
<!-- <div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Cast Spell</div> -->
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spelltarget"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellrange"></div>
<div class="sheet-col-1-8 sheet-vert-middle sheet-padr"><input type="text" class="sheet-center" name="attr_spellduration"></div>
<!-- <div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellInfo" value="&{template:5eDefault} {{spell=1}} {{spellshowinfoblock=1}} {{spellshowdesc=1}}} {{character_name=@{character_name}}} {{emote=looks at the instructions for a spell}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=Level @{spellfriendlylevel}}} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}} {{spelldescription=@{spelldescription}}}">Spell Info</button></div>-->
<div class="sheet-col-1-6 sheet-vert-middle sheet-center sheet-padr"><button type="roll" class="sheet-roll" name="roll_SpellCast" value="&{template:5eDefault} {{spell=1}} {{title=@{spellname}}} {{subheader=@{character_name}}} {{subheader2=level @{spellfriendlylevel}}} @{spellcastmacrooptions} {{spellcasttime=@{spellcasttime}}} {{spellduration=@{spellduration}}} {{spelltarget=@{spelltarget}}} {{spellrange=@{spellrange}}}">Spell Info</button></div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Spell info macro display options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Info block<br/><input type="checkbox" name="attr_spellshowinfoblock" value="{{spellshowinfoblock=1}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Description<br><input type="checkbox" name="attr_spellshowdesc" value="{{spellshowdesc=1}} {{spelldescription=@{spelldescription}}}" /></div>
<div class="sheet-col-1-8 sheet-center sheet-small-label">Saving throw<br/><input type="checkbox" name="attr_spellshowsavethrow" value="{{spellshowsavethrow=1}} {{spellsavestat=@{savestat}}} {{spellsavesuccess=@{savesuccess}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_spellshowhealing" value="{{spellshowhealing=1}} {{spellhealing=[[@{spellhealamount} + @{healstatbonus}]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_spellshowdamage" value="{{spellshowdamage=1}} {{spelldamage=[[@{damage} + @{damagestatbonus} + @{damagemiscbonus}]] @{damagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effects<br/><input type="checkbox" name="attr_spellshoweffects" value="{{spellshoweffects=1}} {{spelleffect=@{spelleffect}}}" /></div>
<input type="hidden" name="attr_spellcastmacrooptions" value="@{spellshowinfoblock} @{spellshowdesc} @{spellshowsavethrow} @{spellshowhealing} @{spellshowdamage} @{spellshoweffects}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1" /><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span>
<input type="checkbox" name="attr_spelltypesave" class="sheet-spelltypetab sheet-spelltypesave" value="1" /><span class="sheet-spelltypetab sheet-spelltypesave">Save</span>
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1" /><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span>
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1" /><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span>
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1" /><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1 sheet-vert-bottom sheet-center sheet-small-label">Spell Description/Flavour</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_spelldescription"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-save">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-center sheet-small-label">Save vs</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label">On a successful save</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padr">
<select name="attr_savestat">
<option value="Death Ray or Poison">Death Ray or Poison</option>
<option value="Magic Wands">Magic Wands</option>
<option value="Paralysis or Turn to Stone">Paralysis or Turn to Stone</option>
<option value="Dragon's Breath">Dragon's Breath</option>
<option value="Rod Staff or Spell">Rod Staff or Spell</option>
</select>
</div>
<div class="sheet-col-1-2"><input type="text" class="sheet-center" name="attr_savesuccess"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal amount</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Stat Bonus</div>
<div class="sheet-col-1-6 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_spellhealamount" value="0"></div>
<div class="sheet-col-1-6 sheet-center">
<select name="attr_healstatbonus">
<option value="0">None</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Dice</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Other Bonus</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Misc</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damage" value="0"></div>
<div class="sheet-col-1-6">
<select name="attr_damagestatbonus">
<option value="0">None</option>
<option value="[[@{intelligence_mod}]]">INT mod</option>
<option value="[[@{wisdom_mod}]]">WIS mod</option>
</select>
</div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="number" class="sheet-center" name="attr_damagemiscbonus" value="0" step="1"></div>
<div class="sheet-col-1-6 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_damagetype"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-col-5-6 sheet-vert-bottom sheet-center sheet-small-label">Spell Effects</div>
<div class="sheet-col-1-6 sheet-vert-bottom sheet-center sheet-small-label">&nbsp;</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1 sheet-small-label sheet-center"><textarea name="attr_spelleffect" class="sheet-medium-textarea">None</textarea></div>
</div>
</div>
</div>
<!-- END spell row -->
</fieldset>
</div>
</div>
<!--Inventory -->
<div class="sheet-section-inventory">
<div class="sheet-row ">
<!-- Loot-->
<div class="sheet-col-1-2 sheet-padr">
<h4 class="sheet-center">Coin Carried </h4>
<div class="sheet-row sheet-sub-header sheet-center">
<div class="sheet-col-1-4 sheet-center sheet-small-label">CP</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">SP</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">GP</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Total Value(GP)</div>
</div>
<div class="sheet-row sheet-center">
<div class="sheet-col-1-4" title="Copper Pieces"><input type="number" name="attr_cp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-4" title="Silver Pieces"><input type="number" name="attr_sp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-4" title="Gold Pieces"><input type="number" name="attr_gp" value="0" min="0" step="1"></div>
<div class="sheet-col-1-4" title="Total (in Gold Pieces)"><input type="number" name="attr_money_total_gp" value="(@{cp} / 100) + (@{sp} / 10) + @{gp} " disabled="disabled"></div>
</div>
<h4 class="sheet-center">Encumbrance </h4>
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label">Equipment</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Coin</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label">Other</div>
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padr">Total</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_inventory_weight" value="0" title="Total up your equipment Worn and Carried then place amount here"></div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_coin_weight" value="((@{CP} + @{SP} + @{GP})/10)" disabled="disabled"></div>
<div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_other_weight" value="0" min="0"></div>
<div class="sheet-col-1-4 sheet-center sheet-padr"><input type="number" name="attr_total_weight" value="@{inventory_weight} + @{coin_weight} + @{other_weight}" disabled="disabled"></div>
</div>
</div>
<!-- Inventory tab -->
<div class="sheet-col-1-2">
<h4 class="sheet-center">Treasure Notes </h4>
<textarea name="attr_lootnotes"></textarea>
</div>
</div>
<h4 class="sheet-center">Equipment </h4>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab1" value="1" title="Page 1" checked="checked" />
<span class="sheet-inventorytab sheet-inventorytab1">Worn</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab2" value="2" title="Page 2" />
<span class="sheet-inventorytab sheet-inventorytab2">Carried</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab3" value="3" title="Page 3" />
<span class="sheet-inventorytab sheet-inventorytab3">Transportation</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab4" value="4" title="Page 4" />
<span class="sheet-inventorytab sheet-inventorytab4">Elsewhere</span>
<input type="radio" name="attr_inventorytab" class="sheet-inventorytab sheet-inventorytab99" value="99" title="Show All" />
<span class="sheet-inventorytab sheet-inventorytab99">Show All</span>
<span class="sheet-spacer"></span>
<!-- Inventory Page 1-->
<div class="sheet-inventory-page1">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle1" value="What is being worn such as armor or clothing" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Weight</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab1">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemwornenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 2-->
<div class="sheet-inventory-page2">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle2" value="What is being carried in sacks or backpack" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Weight</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab2">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemcarriedenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 3-->
<div class="sheet-inventory-page3">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle3" value="What is carried by your horse or wagon" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Weight</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab3">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemtransportationenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
<!-- Inventory Page 4-->
<div class="sheet-inventory-page4">
<input type="text" class="sheet-center sheet-sub-header" name="attr_tabinvtitle4" value="What is stored elsewhere such as in a vault or stronghold" disabled="disabled">
<div class="sheet-row sheet-sub-header">
<div class="sheet-col-1-4 sheet-center sheet-small-label sheet-padl">Name</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Qty</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Uses</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Weight</div>
<div class="sheet-col-1-2 sheet-center sheet-small-label sheet-padl">Notes</div>
</div>
<fieldset class="repeating_inventtab4">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemelsewhereenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
</div>
</div>
<!-- End of PC Sheet-->
<!--Footer -->
<div class="sheet-row sheet-footer">
<div class="sheet-col-1 sheet-small-label sheet-center">
<img src="http://i.imgur.com/QQpi55r.png" width=300 >
</div>
</div>
</div>
<!-- Roll Templates -->
<rolltemplate class="sheet-rolltemplate-5eDefault">
<div class="sheet-rt-card">
<div class="sheet-rt-header{{#weapon}} sheet-weapon{{/weapon}}{{#spell}} sheet-spell{{/spell}}{{#ability}} sheet-ability{{/ability}}{{#save}} sheet-save{{/save}}{{#deathsave}} sheet-deathsave{{/deathsave}}">
<div class="sheet-rt-title">{{title}}</div>
{{#subheader}}
<div class="sheet-rt-subheader">{{subheader}}{{#subheaderright}} &bullet; {{subheaderright}}{{/subheaderright}}</div>
{{/subheader}}
{{#subheader2}}
<div class="sheet-rt-subheader">{{subheader2}}{{#subheaderright2}} &bullet; {{subheaderright2}}{{/subheaderright2}}</div>
{{/subheader2}}
</div>
{{#emote}}
<p class="sheet-rt-emote">{{character_name}} {{emote}}</p>
{{/emote}}
<div class="sheet-main-content">
<!--Weapon based attacks-->
{{#attack}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Attack</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">hits AC {{attack}}</div>
</div>
{{/attack}}
{{#damage}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Damage</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{damage}}</div>
</div>
{{/damage}}
{{#attackshowinfoblock}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-center">Range</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{attackrange}}</div>
</div>
{{/attackshowinfoblock}}
<!--Spellcasting-->
{{#spellshowinfoblock}}
<div class="sheet-row sheet-padb">
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-right-dotted"><span class="sheet-rt-key">Cast Time</span><br/><span class="sheet-rt-value">{{spellcasttime}}</span></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-left-dotted"><span class="sheet-rt-key">Duration</span><br/><span class="sheet-rt-value">{{spellduration}}</span></div>
<div class="sheet-col-1 sheet-border-top-dotted"></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-right-dotted"><span class="sheet-rt-key">Target/AoE</span><br/><span class="sheet-rt-value">{{spelltarget}}</span></div>
<div class="sheet-col-1-2 sheet-padl sheet-padr sheet-center sheet-border-left-dotted"><span class="sheet-rt-key">Range</span><br/><span class="sheet-rt-value">{{spellrange}}</span></div>
</div>
{{/spellshowinfoblock}}
{{#spellshowattack}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Attack</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellattack}} AC Hit</div>
</div>
{{/spellshowattack}}
{{#spellshowsavethrow}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Save</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellsavestat}}</div>
</div>
{{/spellshowsavethrow}}
{{#spellshowhealing}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Healing</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellhealing}} HP healed</div>
</div>
{{/spellshowhealing}}
{{#spellshowdamage}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Damage</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spelldamage}}</div>
</div>
{{/spellshowdamage}}
{{#spellshoweffects}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Effect</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spelleffect}}</div>
</div>
{{/spellshoweffects}}
{{#spellshowsavethrow}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">Save success</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{spellsavesuccess}}</div>
</div>
{{/spellshowsavethrow}}
{{#spellshowdesc}}
<div class="sheet-row">
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-key">Spell Description</div>
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-value">{{spelldescription}}</div>
</div>
{{/spellshowdesc}}
<!--NPC-->
{{#npccorestats}}
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Stat</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Score</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-key">Mod</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">STR</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_strength}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_strength_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">DEX</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_dexterity}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_dexterity_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">CON</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_constitution}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_constitution_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">INT</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_intelligence}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_intelligence_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">WIS</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_wisdom}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_wisdom_mod}}</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">CHA</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_charisma}}</div>
<div class="sheet-col-1-3 sheet-padl sheet-padr sheet-rt-value">{{npc_charisma_mod}}</div>
</div>
{{/npccorestats}}
<!--Generic section-->
{{#freetext}}
<div class="sheet-row">
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-key-wide">{{freetextname}}</div>
<div class="sheet-col-1 sheet-padl sheet-padr sheet-rt-value">{{freetext}}</div>
</div>
{{/freetext}}
{{#roll}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{rollname}}</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{roll}}</div>
</div>
{{/roll}}
<!--Outputall-->
{{#outputall}}
{{#allprops() outputall title subheader subheaderright subheader2 subheaderright2 emote weapon spell ability save deathsave}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{key}}</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{value}}</div>
</div>
{{/allprops() outputall title subheader subheaderright subheader2 subheaderright2 emote weapon spell ability save deathsave}}
{{/outputall}}
<!--DEBUG-->
{{#debug}}
{{#allprops()}}
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-padl sheet-padr sheet-rt-key">{{key}} (DEBUG)</div>
<div class="sheet-col-7-12 sheet-padr sheet-rt-value">{{value}}</div>
</div>
{{/allprops()}}
{{/debug}}
</div>
</div>
</rolltemplate>