mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-06 07:02:28 +00:00
Merge pull request #919 from DigitalPagan/rq6_fixes
Fixing action point calc, passion saving, and spell/bound_spirit saving
This commit is contained in:
@@ -11,17 +11,25 @@ input[type='number']::-webkit-outer-spin-button {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
input[type='number'] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
/* Tweak repeating section buttons so they have a bottom margin and dont overflow when in edit mode. */
|
||||
div[class^="repcontrol"] {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
div[class="repcontainer editmode"] ~ div[class^="repcontrol"] button[class="btn repcontrol_add"] {
|
||||
display: inline-block!important;
|
||||
visibility: hidden;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* Layout CSS */
|
||||
div.sheet-wrapper {
|
||||
min-width: 850px;
|
||||
}
|
||||
|
||||
div.sheet-section {
|
||||
border-radius: 15px;
|
||||
border: 1px solid black;
|
||||
|
||||
+2387
-2385
File diff suppressed because it is too large
Load Diff
+2387
-2385
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+92
-92
@@ -1,92 +1,92 @@
|
||||
--- Runequest_6.html 2015-02-19 09:59:38.287345206 -0500
|
||||
+++ Runequest_6_api.html.new 2015-02-19 10:08:26.641041821 -0500
|
||||
@@ -414,7 +414,7 @@
|
||||
<tr>
|
||||
<td class="attribute-label">Damage Mod: </td>
|
||||
<td class="attribute_value">
|
||||
- <select class="full" name="attr_damage_mod_std">
|
||||
+ <select class="full autocalc" name="attr_damage_mod_std">
|
||||
<option value="-1d8">-1d8</option>
|
||||
<option value="-1d6">-1d6</option>
|
||||
<option value="-1d4">-1d4</option>
|
||||
@@ -510,7 +510,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_skillgrade">
|
||||
+ <select class="full autocalc" name="attr_fatigue_skillgrade">
|
||||
<option value="Standard" selected>Standard</option>
|
||||
<option value="Hard">Hard</option>
|
||||
<option value="Formidable">Formidable</option>
|
||||
@@ -521,7 +521,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_movement">
|
||||
+ <select class="full autocalc" name="attr_fatigue_movement">
|
||||
<option value="+0" selected>No penalties</option>
|
||||
<option value="-1">-1 metres</option>
|
||||
<option value="-2">-2 metres</option>
|
||||
@@ -530,7 +530,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_strike_rank">
|
||||
+ <select class="full autocalc" name="attr_fatigue_strike_rank">
|
||||
<option value="0" selected>No penalties</option>
|
||||
<option value="-2">-2</option>
|
||||
<option value="-4">-4</option>
|
||||
@@ -540,7 +540,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_action_points">
|
||||
+ <select class="full autocalc" name="attr_fatigue_action_points">
|
||||
<option value="+0" selected>No penalties</option>
|
||||
<option value="-1">-1</option>
|
||||
<option value="-2">-2</option>
|
||||
@@ -549,7 +549,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_recovery_period">
|
||||
+ <select class="full autocalc" name="attr_fatigue_recovery_period">
|
||||
<option value="0" selected>N/A</option>
|
||||
<option value=".25">15 minutes</option>
|
||||
<option value="3">3 hours</option>
|
||||
@@ -1394,7 +1394,7 @@
|
||||
<tr>
|
||||
<td><h5>Str & Dex Skills:</h5></td>
|
||||
<td>
|
||||
- <select class="full" name="attr_enc_skill_mod">
|
||||
+ <select class="full autocalc" name="attr_enc_skill_mod">
|
||||
<option value="Standard">Standard</option>
|
||||
<option value="1 Grade Harder">1 Grade Harder</option>
|
||||
<option value="2 Grades Harder">2 Grades Harder</option>
|
||||
@@ -1405,7 +1405,7 @@
|
||||
<tr>
|
||||
<td><h5>Movement Rate:</h5></td>
|
||||
<td>
|
||||
- <select class="full" name="attr_enc_move_rate_mod">
|
||||
+ <select class="full autocalc" name="attr_enc_move_rate_mod">
|
||||
<option value="-0">Standard</option>
|
||||
<option value="-2">-2 Metres*</option>
|
||||
<option value="*.5">Halved*</option>
|
||||
@@ -1416,7 +1416,7 @@
|
||||
<tr>
|
||||
<td><h5>Carrying load is:</h5></td>
|
||||
<td>
|
||||
- <select class="full" name="attr_enc_carrying_load">
|
||||
+ <select class="full autocalc" name="attr_enc_carrying_load">
|
||||
<option value="Light">Light</option>
|
||||
<option value="Medium">Medium</option>
|
||||
<option value="Strenuous">Strenuous</option>
|
||||
@@ -1568,7 +1568,7 @@
|
||||
<td><input type="number" class="value_full" name="attr_spirit_action_points_max" value="ceil((@{int}+@{pow})/12)+@{action_points_temp}" disabled="true"/></td>
|
||||
<td><input type="number" class="value_full" name="attr_spirit_strike_rank" value="round((@{int}+@{cha})/2)+@{strike_rank_temp}" disabled="true"/></td>
|
||||
<td>
|
||||
- <select class="full" name="attr_spirit_damage">
|
||||
+ <select class="full autocalc" name="attr_spirit_damage">
|
||||
<option value="1d2" selected>1d2</option>
|
||||
<option value="1d4">1d4</option>
|
||||
<option value="1d6">1d6</option>
|
||||
--- Runequest_6.html 2015-07-07 10:57:49.695833850 -0400
|
||||
+++ Runequest_6_api.html 2015-07-07 10:59:01.086935920 -0400
|
||||
@@ -413,7 +413,7 @@
|
||||
<tr>
|
||||
<td class="attribute-label">Damage Mod: </td>
|
||||
<td class="attribute_value">
|
||||
- <select class="full" name="attr_damage_mod_std">
|
||||
+ <select class="full autocalc" name="attr_damage_mod_std">
|
||||
<option value="-1d8">-1d8</option>
|
||||
<option value="-1d6">-1d6</option>
|
||||
<option value="-1d4">-1d4</option>
|
||||
@@ -509,7 +509,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_skillgrade">
|
||||
+ <select class="full autocalc" name="attr_fatigue_skillgrade">
|
||||
<option value="Standard" selected>Standard</option>
|
||||
<option value="Hard">Hard</option>
|
||||
<option value="Formidable">Formidable</option>
|
||||
@@ -520,7 +520,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_movement">
|
||||
+ <select class="full autocalc" name="attr_fatigue_movement">
|
||||
<option value="+0" selected>No penalties</option>
|
||||
<option value="-1">-1 metres</option>
|
||||
<option value="-2">-2 metres</option>
|
||||
@@ -529,7 +529,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_strike_rank">
|
||||
+ <select class="full autocalc" name="attr_fatigue_strike_rank">
|
||||
<option value="0" selected>No penalties</option>
|
||||
<option value="-2">-2</option>
|
||||
<option value="-4">-4</option>
|
||||
@@ -539,7 +539,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_action_points">
|
||||
+ <select class="full autocalc" name="attr_fatigue_action_points">
|
||||
<option value="+0" selected>No penalties</option>
|
||||
<option value="-1">-1</option>
|
||||
<option value="-2">-2</option>
|
||||
@@ -548,7 +548,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
- <select class="full" name="attr_fatigue_recovery_period">
|
||||
+ <select class="full autocalc" name="attr_fatigue_recovery_period">
|
||||
<option value="0" selected>N/A</option>
|
||||
<option value=".25">15 minutes</option>
|
||||
<option value="3">3 hours</option>
|
||||
@@ -1795,7 +1795,7 @@
|
||||
<tr>
|
||||
<td><h5>Str & Dex Skills:</h5></td>
|
||||
<td>
|
||||
- <select class="full" name="attr_enc_skill_mod">
|
||||
+ <select class="full autocalc" name="attr_enc_skill_mod">
|
||||
<option value="Standard">Standard</option>
|
||||
<option value="1 Grade Harder">1 Grade Harder</option>
|
||||
<option value="2 Grades Harder">2 Grades Harder</option>
|
||||
@@ -1806,7 +1806,7 @@
|
||||
<tr>
|
||||
<td><h5>Movement Rate:</h5></td>
|
||||
<td>
|
||||
- <select class="full" name="attr_enc_move_rate_mod">
|
||||
+ <select class="full autocalc" name="attr_enc_move_rate_mod">
|
||||
<option value="-0">Standard</option>
|
||||
<option value="-2">-2 Metres*</option>
|
||||
<option value="*.5">Halved*</option>
|
||||
@@ -1817,7 +1817,7 @@
|
||||
<tr>
|
||||
<td><h5>Carrying load is:</h5></td>
|
||||
<td>
|
||||
- <select class="full" name="attr_enc_carrying_load">
|
||||
+ <select class="full autocalc" name="attr_enc_carrying_load">
|
||||
<option value="Light">Light</option>
|
||||
<option value="Medium">Medium</option>
|
||||
<option value="Strenuous">Strenuous</option>
|
||||
@@ -2056,7 +2056,7 @@
|
||||
<td><input type="number" class="value_full" name="attr_spirit_action_points_max" value="ceil((@{int}+@{pow})/12)+@{action_points_temp}" disabled="true"/></td>
|
||||
<td><input type="number" class="value_full" name="attr_spirit_strike_rank" value="ceil((@{int}+@{cha})/2)+@{strike_rank_temp}" disabled="true"/></td>
|
||||
<td>
|
||||
- <select class="full" name="attr_spirit_damage">
|
||||
+ <select class="full autocalc" name="attr_spirit_damage">
|
||||
<option value="1d2" selected>1d2</option>
|
||||
<option value="1d4">1d4</option>
|
||||
<option value="1d6">1d6</option>
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
"authors": "Matthew Carpenter",
|
||||
"roll20userid": "103705",
|
||||
"preview": "Runequest_6.png",
|
||||
"instructions": "Github has a few versions of this sheet. An API version which pairs with the extended_autocalc.js script. This brings autocalc to Damage Mod, Spirit Damage and Fatigue Effects. There are also copies of the old html/css before the sheet was redesigned. Old values not present in the new design should be available in the Attributes section but these old copies of the html/css may be useful to pull out old values if that proves too arduous. All this can be found at: https://github.com/Roll20/roll20-character-sheets/tree/master/Runequest_6"
|
||||
"instructions": "Github has a few versions of this sheet. An API version which pairs with the extended_autocalc.js script. This brings autocalc to Damage Mod, Spirit Damage and Fatigue Effects. There are also copies of the old html/css before the sheet was redesigned. Old values not present in the new design should be available in the Attributes section but these old copies of the html/css may be useful to pull out old values if that proves too arduous. All this can be found at: https://github.com/Roll20/roll20-character-sheets/tree/master/Runequest\_6"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user