mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
edits
Fixed some calculation forumlas and edited some of the design.
This commit is contained in:
@@ -4,5 +4,7 @@ This is a character sheet for use on Roll20.net with the Basic Fantasy Roleplayi
|
||||
This version of the sheet incorporates roll templates, autocalculation of AC, and most other derived values. It does not require access to features of the Dev server or the API. It includes support for play with most of the optional supplements. This sheet is not compatible with the original Basic Fantasy sheet due to additional fields and naming convention.
|
||||
**Changelog**
|
||||
October 15 – Felt it was finished enough to post in the github for it's initial pull
|
||||
November 12 - Fixed attack bonus calculations and armor class calculations. Redesigned the Armor class section in the combat tab.
|
||||
November 13 - Added no to the turn undead / befriend animal drop down to represent no ability.
|
||||
**Credit Where Credit is Due**
|
||||
The CSS and much of the layout is lifted from the work of allenmaher's BECMI sheet who lifted the excellent work of John Myles (@Actoba on roll20) and the 5e Dungeons and Dragons sheet.
|
||||
@@ -1,3 +1,52 @@
|
||||
<!-- 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>
|
||||
|
||||
<!-- Sheet code -->
|
||||
|
||||
<div class="sheet-overall-wrapper">
|
||||
<div class="sheet-character">
|
||||
<!--Main Header -->
|
||||
@@ -42,7 +91,7 @@
|
||||
</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_gender"><br/>Gender</div>
|
||||
<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>
|
||||
@@ -244,7 +293,8 @@
|
||||
<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="100">No</option>
|
||||
<option value="9">9</option>
|
||||
<option value="7">7</option>
|
||||
<option value="5">5</option>
|
||||
<option value="3">3</option>
|
||||
@@ -261,6 +311,7 @@
|
||||
<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>
|
||||
@@ -282,7 +333,8 @@
|
||||
<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="17">17</option>
|
||||
<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>
|
||||
@@ -305,6 +357,7 @@
|
||||
<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>
|
||||
@@ -330,7 +383,7 @@
|
||||
<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="25">No</option>
|
||||
<option value="100">No</option>
|
||||
<option value="20">20</option>
|
||||
<option value="19">19</option>
|
||||
<option value="18">18</option>
|
||||
@@ -357,7 +410,7 @@
|
||||
<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="25">No</option>
|
||||
<option value="100">No</option>
|
||||
<option value="20">20</option>
|
||||
<option value="19">19</option>
|
||||
<option value="18">18</option>
|
||||
@@ -384,7 +437,7 @@
|
||||
<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="25">No</option>
|
||||
<option value="100">No</option>
|
||||
<option value="20">20</option>
|
||||
<option value="19">19</option>
|
||||
<option value="18">18</option>
|
||||
@@ -411,7 +464,7 @@
|
||||
<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="25">No</option>
|
||||
<option value="100">No</option>
|
||||
<option value="20">20</option>
|
||||
<option value="19">19</option>
|
||||
<option value="18">18</option>
|
||||
@@ -438,7 +491,7 @@
|
||||
<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="25">No</option>
|
||||
<option value="100">No</option>
|
||||
<option value="20">20</option>
|
||||
<option value="19">19</option>
|
||||
<option value="18">18</option>
|
||||
@@ -461,7 +514,7 @@
|
||||
<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="25">No</option>
|
||||
<option value="100">No</option>
|
||||
<option value="20">20</option>
|
||||
<option value="19">19</option>
|
||||
<option value="18">18</option>
|
||||
@@ -484,7 +537,7 @@
|
||||
<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="25">No</option>
|
||||
<option value="100">No</option>
|
||||
<option value="20">20</option>
|
||||
<option value="19">19</option>
|
||||
<option value="18">18</option>
|
||||
@@ -670,8 +723,8 @@
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Mastery To Hit Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Mastery Damage Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Magic Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Strength bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Attack Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Attack bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Strength Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Damage Dice</div>
|
||||
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Notes</div>
|
||||
<div class="sheet-col-1-24 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Attack</div>
|
||||
@@ -683,7 +736,7 @@
|
||||
<div class="sheet-col-1-12 sheet-padr"><input type="number" name="attr_meleemasteryhit" value="0" step="1"></div>
|
||||
<div class="sheet-col-1-12 sheet-padr"><input type="number" name="attr_meleemasterydam" value="0" step="1"></div>
|
||||
<div class="sheet-col-1-12 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-padr"><input type="number" name="attr_meleesab" value="@{ab}" disabled=true></div>
|
||||
<div class="sheet-col-1-12 sheet-padr"><input type="number" name="attr_meleeab" value="@{ab}" disabled=true></div>
|
||||
<div class="sheet-col-1-12 sheet-padr"><input type="number" name="attr_meleestr" value="@{strength_mod}" disabled=true></div>
|
||||
<div class="sheet-col-1-12 sheet-padr sheet-center">
|
||||
<select name="attr_meleedmg">
|
||||
@@ -707,8 +760,8 @@
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Mastery To Hit Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Mastery Damage Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Magic Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Dexterity bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Attack Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom sheet-padr">Attack bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Dexterity Bonus</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Range</div>
|
||||
<div class="sheet-col-1-12 sheet-center sheet-small-label sheet-vert-bottom">Damage Dice</div>
|
||||
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Notes</div>
|
||||
@@ -744,30 +797,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<!-- All about Armour-->
|
||||
<!-- All about Armor-->
|
||||
<div class="sheet-row ">
|
||||
<!--Armour Class -->
|
||||
<div class="sheet-col-1-2 sheet-padr">
|
||||
<div class="sheet-col-1 sheet-padr">
|
||||
<h4 class="sheet-center">Armor Class </h4>
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-col-1-4 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-4 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-4 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 armour sources" step="1"><br/>Magic</div>
|
||||
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_AC" value="(@{AC_armour} + @{AC_shield} + @{AC_magic} + @{dexterity_mod})" disabled="true"><br/>Total</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Armour -->
|
||||
<div class="sheet-col-1-2">
|
||||
<h4 class="sheet-center">Equipped Armor </h4>
|
||||
<div class="sheet-row sheet-sub-header sheet-small-label sheet-center">
|
||||
<div class="sheet-col-1-2 sheet-center">Full Sets</div>
|
||||
</div>
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-col-1-3 sheet-small-label sheet-center">
|
||||
<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">Hide</option>
|
||||
<option value="13">Leather</option>
|
||||
<option value="14">Studded Leather</option>
|
||||
<option value="14">Ring Mail</option>
|
||||
@@ -781,10 +819,16 @@
|
||||
<option value="19">Full Plate Mail</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="sheet-col-1-3 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_eqarmormagic" value="0" step="1"><br/>Magic Bonus</div>
|
||||
<div class="sheet-col-1-3 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 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" 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>
|
||||
|
||||
|
||||
@@ -0,0 +1,410 @@
|
||||
<table>
|
||||
|
||||
<!-- top block -->
|
||||
<tr><td colspan=2>
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<td width=1><b>Name</b></td>
|
||||
<td colspan=3><input type=text width=50 style='width: 27em;' name="attr_name" /></td>
|
||||
<td width=1>Sex</td>
|
||||
<td><input type=text width=10 style='width: 5em;' name="attr_gender" /></td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=1>Race</td>
|
||||
<td><input type=text width=20 style='width: 10em;' name="attr_race" /></td>
|
||||
<td width=1>Class</td>
|
||||
<td><input type=text width=20 style='width: 10em;' name="attr_class" /></td>
|
||||
<td width=1>Level</td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_level" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=1>Height</td>
|
||||
<td><input type=text width=10 style='width: 5em;' name="attr_height" /></td>
|
||||
<td width=1>Weight</td>
|
||||
<td><input type=text width=10 style='width: 5em;' name="attr_weight" /></td>
|
||||
<td width=1>Age</td>
|
||||
<td><input type=number width=10 style='width: 5em;' name="attr_age" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
|
||||
<tr><td valign=top>
|
||||
<!-- column 1 -->
|
||||
|
||||
<div class=formblock>
|
||||
<table width=100%>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Attribute</td>
|
||||
<td width=1>Value</td>
|
||||
<td width=1>Bonus</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>Strength</td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_STR"/></td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_STRbonus"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Intelligence</td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_INT"/></td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_INTbonus"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Wisdom</td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_WIS"/></td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_WISbonus"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dexterity</td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_DEX"/></td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_DEXbonus"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Constitution</td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_CON"/></td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_CONbonus"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charisma</td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_CHA"/></td>
|
||||
<td><input type=number width=5 style='width: 5em;' name="attr_CHAbonus"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</td><td valign=top>
|
||||
<!-- column 2 -->
|
||||
|
||||
<div class=sheet-formblock>
|
||||
<b>Combat</b>
|
||||
|
||||
<table width=100%>
|
||||
|
||||
<tr>
|
||||
<td>AC</td>
|
||||
<td>
|
||||
<input name="attr_ac" style="width: 14em;" type="text">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>HP</td>
|
||||
<td>
|
||||
<input name="attr_hp_max" style="width: 7em;" type="text">
|
||||
|
||||
<input name="attr_hp" style="width: 6em;" type="text">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>AB</td>
|
||||
<td>
|
||||
<input name="attr_ab_normal" style="width: 14em;" type="text">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sheet-nowrap"> Melee</td>
|
||||
<td>
|
||||
<input name="attr_ab_melee" style="width: 14em;" type="number"
|
||||
value="@{ab_normal}+@{STRbonus}" disabled=true>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sheet-nowrap"> Missile</td>
|
||||
<td>
|
||||
<input name="attr_ab_missile" style="width: 14em;" type="number"
|
||||
value="@{ab_normal}+@{DEXbonus}" disabled=true>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Move</td>
|
||||
<td>
|
||||
<input name="attr_movement" style="width: 14em;" type="text">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td valign=top colspan=2>
|
||||
|
||||
<b>Weapons</b>
|
||||
<br>
|
||||
<b style='display: inline-block; width: 10em;'>Name</b>
|
||||
<b style='display: inline-block; width: 5em;'>Total AB</b>
|
||||
<b style='display: inline-block; width: 5em;'>Damage</b>
|
||||
<b style='display: inline-block; width: 10em;'>Range</b>
|
||||
<b style='display: inline-block; width: 10em;'>Notes</b>
|
||||
<br>
|
||||
<fieldset class=repeating_weapons>
|
||||
<input type=text name=attr_weaponname style='width: 10em;'>
|
||||
<input type=text name=attr_weaponab style='width: 5em;'>
|
||||
<input type=text name=attr_weapondamage style='width: 5em;'>
|
||||
<input type=text name=attr_weaponrange style='width: 10em;'>
|
||||
<input type=text name=attr_weaponnotes style='width: 10em;'>
|
||||
</fieldset>
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td valign=top>
|
||||
<!-- column 1 -->
|
||||
|
||||
<div class=formblock>
|
||||
<b>Equipment</b>
|
||||
<br>
|
||||
<textarea name="attr_equipment"></textarea>
|
||||
</div>
|
||||
|
||||
<div class=formblock>
|
||||
<b>Experience</b>
|
||||
<table width=100% class=xptable>
|
||||
<tr>
|
||||
<td width="99%">Current XP</td>
|
||||
<td width="1">
|
||||
<input name="attr_currentxp" type="text">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="99%">XP for Next Level</td>
|
||||
<td width="1">
|
||||
<input name="attr_xpnextlevel" type="text">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class=formblock>
|
||||
<b>Thief Abilities</b>
|
||||
<table width=100% class=thiefabilities>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="99%">Open Locks</td>
|
||||
<td width="1">
|
||||
<input name="attr_openlocks" type="text">
|
||||
</td>
|
||||
<td width="1"><button type=roll value="/roll 1d100<@{openlocks}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Remove Traps</td>
|
||||
<td><input name="attr_removetraps" type="text"></td>
|
||||
<td><button type=roll value="/roll 1d100<@{removetraps}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pick Pockets</td>
|
||||
<td><input name="attr_pickpockets" type="text"></td>
|
||||
<td><button type=roll value="/roll 1d100<@{pickpockets}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Move Silently</td>
|
||||
<td><input name="attr_movesilently" type="text"></td>
|
||||
<td><button type=roll value="/roll 1d100<@{movesilently}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Climb Walls</td>
|
||||
<td><input name="attr_climbwalls" type="text"></td>
|
||||
<td><button type=roll value="/roll 1d100<@{climbwalls}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hide</td>
|
||||
<td><input name="attr_hide" type="text"></td>
|
||||
<td><button type=roll value="/roll 1d100<@{hide}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Listen</td>
|
||||
<td><input name="attr_listen" type="text"></td>
|
||||
<td><button type=roll value="/roll 1d100<@{listen}"></button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class=formblock>
|
||||
<b>Spells</b>
|
||||
<table width=95% class=spelltable>
|
||||
<tr>
|
||||
<td style='text-align: left;'>Level</td>
|
||||
<td width=1>1</td>
|
||||
<td width=1>2</td>
|
||||
<td width=1>3</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style='text-align: left;'>Number</td>
|
||||
<td><input type="number" name="attr_level1spells" class=shortnum></td>
|
||||
<td><input type="number" name="attr_level2spells" class=shortnum></td>
|
||||
<td><input type="number" name="attr_level3spells" class=shortnum></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style='text-align: left;'>Level</td>
|
||||
<td width=1>4</td>
|
||||
<td width=1>5</td>
|
||||
<td width=1>6</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style='text-align: left;'>Number</td>
|
||||
<td><input type="number" name="attr_level4spells" class=shortnum></td>
|
||||
<td><input type="number" name="attr_level5spells" class=shortnum></td>
|
||||
<td><input type="number" name="attr_level6spells" class=shortnum></td>
|
||||
</tr>
|
||||
</table>
|
||||
<textarea name="attr_spells"></textarea>
|
||||
</div>
|
||||
|
||||
</td><td valign=top>
|
||||
<!-- column 2 -->
|
||||
|
||||
<div class=formblock>
|
||||
<b>Money</b>
|
||||
<br>
|
||||
<textarea name="attr_money"></textarea>
|
||||
</div>
|
||||
|
||||
<div class=formblock>
|
||||
<b>Saving Throws</b>
|
||||
<table class="sheet-savingthrows" style="width: 100%;">
|
||||
<tr>
|
||||
<td width="99%">
|
||||
Death Ray or Poison
|
||||
</td>
|
||||
<td width="1">
|
||||
<input name="attr_deathrayorpoison" type="number">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{deathrayorpoison}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Magic Wands
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_magicwands" type="number">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{magicwands}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Paralysis or Turn to Stone
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_paralysispetrification" type="number">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{paralysispetrification}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Dragon Breath
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_dragonbreath" type="number">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{dragonbreath}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Rods, Staves, and Spells
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_rodsstavesspells" type="number">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{rodsstavesspells}"></button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class=formblock>
|
||||
<b>Turn Undead</b>
|
||||
<table class="sheet-turnundead" style="width: 100%;">
|
||||
<tr>
|
||||
<td width="99%">
|
||||
Skeleton
|
||||
</td>
|
||||
<td width="1">
|
||||
<input name="attr_turnskeleton" type="text">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{turnskeleton}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Zombie
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_turnzombie" type="text">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{turnzombie}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Ghoul
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_turnghoul" type="text">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{turnghoul}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Wight
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_turnwight" type="text">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{turnwight}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Wraith
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_turnwraith" type="text">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{turnwraith}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Mummy
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_turnmummy" type="text">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{turnmummy}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Spectre
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_turnspectre" type="text">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{turnspectre}"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Vampire
|
||||
</td>
|
||||
<td>
|
||||
<input name="attr_turnvampire" type="text">
|
||||
</td>
|
||||
<td width=1><button type=roll value="/roll 1d20>@{turnvampire}"></button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class=formblock>
|
||||
<b>Notes</b>
|
||||
<br>
|
||||
<textarea name="attr_notes"></textarea>
|
||||
</div>
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td colspan=2>
|
||||
<b>Basic Fantasy RPG Character Sheet for Roll20</b> v0.2
|
||||
</td></tr>
|
||||
|
||||
</table>
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"html": "bfrpgsheet-expanded.html",
|
||||
"css": "bfrpgsheet-expanded.css",
|
||||
"authors": "Pat Stubbs",
|
||||
"roll20userid": "32262",
|
||||
"preview": "bfrpgsheet-expanded-preview.png",
|
||||
"instructions": "This sheet is for The Basic Fantasy Roleplaying Game (BFRPG). It supports the core rules and most of the optional rules. It does not currently support automatic encumbrance calculations, yet."
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user