Update L5RFFGSheet.html

Fixed recent break to Composure and Endurance Calculation, while maintaining the attempt to correct the new books swap of the stat calculations...

Updated the wording on Adversities and Anxieties to reflect the official release character sheet.

Changed "status" to "standing" in the section on other characters to reflect the wording on the official release character sheet.

Although not every stance changed mechanically, changed the tooltips on every stance to reflect the wording on the new, official character sheet, post-release.

Added sections for ninjutsu and maho technique to the PC sheet. NPCs will follow.
This commit is contained in:
rdefendi
2018-12-03 14:15:03 -07:00
committed by GitHub
parent 543fe40d53
commit 34139ce718
+318 -101
View File
@@ -17,7 +17,7 @@
<p></p>
Version 0.8.3 Beta
Version 0.8.4 Beta
<div class="tab-content tab-narrative-mode"><!--Open Narrative Mode Tab-->
@@ -869,7 +869,7 @@ Version 0.8.3 Beta
<textarea name="attr_distinctions" class="three-lines"></textarea>
<p></p>
<h5 data-i18n="adversities-u">ADVERSITIES: Reroll two dice showing  or  results when a flaw hinders you on a check. Then, if you failed, regain 1 Void point.</h5>
<h5 data-i18n="adversities-u">ADVERSITIES: Reroll two dice containing success or explosive success symbols when an adversity hinders you on a check. If you fail, gain 1 Void point.</h5>
<textarea name="attr_adversities" class="three-lines"></textarea>
<p></p>
@@ -877,7 +877,7 @@ Version 0.8.3 Beta
<textarea name="attr_passions" class="three-lines"></textarea>
<p></p>
<h5 data-i18n="anxieties-u">ANXIETIES: After performing a check related to your anxiety, suffer 3 strife. If you suffer an Unmasking as a result, regain 1 Void point.</h5>
<h5 data-i18n="anxieties-u">ANXIETIES: After performing a check related to your anxiety, receive 3 strife. Then, gain 1 Void point (limit once per scene).</h5>
<textarea name="attr_anxieties" class="three-lines"></textarea>
<p></p>
@@ -885,7 +885,7 @@ Version 0.8.3 Beta
<textarea name="attr_personaloutburst" class="three-lines"></textarea>
<p></p>
<h5 data-i18n="othercharacters-u">Other Characters, their status, and notes.</h5>
<h5 data-i18n="othercharacters-u">Other Characters, their standing, and notes.</h5>
<textarea name="attr_othercharacters" class="eight-lines"></textarea>
<!--End Titles-->
@@ -914,15 +914,16 @@ Version 0.8.3 Beta
<!--Start Rings-->
<table style="width:100%;class="attribute">
<tr>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="air-stance-u">Air Stance (conflict only): Increase the TN of Attack and Scheme action checks targeting you by 1. If your school rank is 4 or higher, increase the TN by 2 instead.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="air-stance-u">AIR STANCE: +1 to TN of Attack and Scheme checks targeting you (+2 at rank 4+).</span>
<p></p> <h3 data-i18n="air-u" class="attribute">Air</h3></div></td>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="earth-stance-u">Earth Stance (conflict only): Other characters cannot spend opportunity targeting you.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="earth-stance-u">EARTH STANCE: Others cannot spend Opportunity to inflict critical strikes or conditions on you.
</span>
<p></p> <h3 data-i18n="earth-u" class="attribute">Earth</h3></div></td>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="fire-stance-u">Fire Stance (conflict only): If you succeed, increase your degrees of success by 1 for each strife result.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="fire-stance-u">FIRE STANCE: If you succeed, +1 bonus success per Strife symbol.</span>
<p></p> <h3 data-i18n="fire-u" class="attribute">Fire</h3></div> </td>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="water-stance-u">Water Stance (conflict only): During your turn, you may perform 1 additional action that does not require a check.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="water-stance-u">WATER STANCE: Perform a second action on your turn that does not require a check or share a type with your first action.</span>
<p></p> <h3 data-i18n="water-u" class="attribute">Water</h3></div></td>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="void-stance-u">Void Stance (conflict only): You do not gain Strife from strife results on checks.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="void-stance-u">VOID STANCE: You do not gain Strife from Strife results on checks.</span>
<p></p> <h3 data-i18n="void-u" class="attribute">Void</h3></div> </td>
</tr>
<tr>
@@ -1511,7 +1512,7 @@ Version 0.8.3 Beta
</tr>
</table>
<div><!--Open Repeating Kata-->
<div><!--Open Repeating Kiho-->
<fieldset class="repeating_rekiho">
<div style="width: 100%;">
@@ -1569,10 +1570,132 @@ Version 0.8.3 Beta
</div>
</fieldset>
</div><!--Close Repeating Kata-->
</div><!--Close Repeating Kiho-->
</div><!--Close Kihos Collapsable-->
<p></p>
<b data-i18n="ninjutsu-u">Ninjutsu</b><input name="attr_ninjutsu_toggle" value="1" checked="checked" style="width:78px;margin:-13px -20px 0 -62px" class="sheet-toggle tab-ninjutsu" type="checkbox"/><span></span><!--Checkbox Ninjutsu Colapsable-->
<div class="tab-content tab-ninjutsu"><!--Open Ninjutsu Collapsable-->
<table style='border-collapse: collapse; border-spacing: 0; width:100%'>
<tr>
<td><b data-i18n="name-colon-u">Name:</b></td>
<td colspan="6"><input style="width:280px;" type="text" value="" name="attr_ninjutsu_name"/></td>
<tr>
</tr>
<td><b data-i18n="damage-colon-u">Damage:</b></td>
<td><input type="number" name="attr_ninjutsu_damage" value="0"/></td>
<td><b data-i18n="deadliness-colon-u">Deadliness:</b></td>
<td><input style="width:100px;" type="text" name="attr_ninjutsu_deadliness" value="0"/></td>
<td><b data-i18n="p-u">p#</b></td>
<td><input style="width:50px;" type="number" name="attr_ninjutsu_p#" value="0"/></td>
</tr>
</table>
<b data-i18n="activation-colon-u">Activation:</b>
<textarea name="attr_ninjutsu_activation" class="one-line"></textarea>
<b data-i18n="effects-colon-u">Effects:</b>
<textarea name="attr_ninjutsu_effects" class="one-line"></textarea>
<img width="3%" src="https://i.imgur.com/sdRYAZd.png"/>
<textarea name="attr_ninjutsu_options" class="two-lines"></textarea>
<table style='border-collapse: collapse; border-spacing: 0; width:100%'>
<tr>
<td style="font-weight:bold" data-i18n="skill-u">Skill:</td>
<td style="font-weight:bold" data-i18n="approach-colon-u">Approach:</td>
<td style="font-weight:bold" data-i18n="roll-u">+Roll</td>
<td style="font-weight:bold" data-i18n="keep-u">+Keep</td>
<td style="font-weight:bold" data-i18n="modifiers-u">Modifiers:</td>
</tr>
<tr>
<td><input type="number" name="attr_rank_ninjutsu" value="0"/></td>
<td><select class="very-narrow" name="attr_ninjutsu_approach">
<option value="@{air}" data-i18n="air-u">Air</option>
<option value="@{earth}" data-i18n="earth-u">Earth</option>
<option value="@{fire}" data-i18n="fire-u">Fire</option>
<option value="@{water}" data-i18n="water-u">Water</option>
<option value="@{void}" data-i18n="void-u">Void</option>
</select></td>
<td><input type="number" name="attr_roll_bonus_ninjutsu" value="0"></td>
<td><input type="number" name="attr_keep_bonus_ninjutsu" value="0"></td>
<td><input style="width:100px;" type="text" value="" name="attr_ninjutsu_mod"/>
<td><button type="roll" value="/em @{name} @{skill_emote_6} @{ninjutsu_name} @{skill_emote_7} @{ninjutsu_approach_selected} @{skill_emote_11} [[@{ninjutsu_approach}+@{keep_bonus_ninjutsu}]]@{skill_emote_5} \n\n/roll [[@{ninjutsu_approach}+@{keep_bonus_ninjutsu}]]t[Ring]+[[@{rank_ninjutsu}+@{roll_bonus_ninjutsu}]]t[Skill]"></button></td>
</tr>
</table>
<div><!--Open Repeating Ninjutsu-->
<fieldset class="repeating_reninjutsu">
<div style="width: 100%;">
<h6></h6><!--Section Seperator-->
<table style='border-collapse: collapse; border-spacing: 0; width:100%'>
<tr>
<td><b data-i18n="name-colon-u">Name:</b></td>
<td colspan="6"><input style="width:280px;" type="text" value="" name="attr_ninjutsu_name"/></td>
<tr>
</tr>
<td><b data-i18n="damage-colon-u">Damage:</b></td>
<td><input type="number" name="attr_ninjutsu_damage" value="0"/></td>
<td><b data-i18n="deadliness-colon-u">Deadliness:</b></td>
<td><input style="width:100px;" type="text" name="attr_ninjutsu_deadliness" value="0"/></td>
<td><b data-i18n="p-u">p#</b></td>
<td><input style="width:50px;" type="number" name="attr_ninjutsu_p#" value="0"/></td>
</tr>
</table>
<b data-i18n="activation-colon-u">Activation:</b>
<textarea name="attr_ninjutsu_activation" class="one-line"></textarea>
<b data-i18n="effects-colon-u">Effects:</b>
<textarea name="attr_ninjutsu_effects" class="two-lines"></textarea>
<img width="3%" src="https://i.imgur.com/sdRYAZd.png"/>
<textarea name="attr_ninjutsu_options" class="two-lines"></textarea>
<table style='border-collapse: collapse; border-spacing: 0; width:100%'>
<tr>
<td style="font-weight:bold" data-i18n="skill-u">Skill:</td>
<td style="font-weight:bold" data-i18n="approach-colon-u">Approach:</td>
<td style="font-weight:bold" data-i18n="roll-u">+Roll</td>
<td style="font-weight:bold" data-i18n="keep-u">+Keep</td>
<td style="font-weight:bold" data-i18n="modifiers-u">Modifiers:</td>
</tr>
<tr>
<td><input type="number" name="attr_rank" value="0"/></td>
<input type="hidden" name="attr_approach_selected" value="Air" />
<td><select class="very-narrow" name="attr_approach">
<option value="@{air}" data-i18n="air-u">Air</option>
<option value="@{earth}" data-i18n="earth-u">Earth</option>
<option value="@{fire}" data-i18n="fire-u">Fire</option>
<option value="@{water}" data-i18n="water-u">Water</option>
<option value="@{void}" data-i18n="void-u">Void</option>
</select></td>
<td><input type="number" name="attr_roll_bonus" value="0"></td>
<td><input type="number" name="attr_keep_bonus" value="0"></td>
<td><input style="width:100px;" type="text" value="" name="attr_mod"/>
<td><button type="roll" value="/em @{name} @{skill_emote_6} @{ninjutsu_name} @{skill_emote_7} @{approach_selected} @{skill_emote_11} [[@{approach}+@{keep_bonus}]]@{skill_emote_5} \n\n/roll [[@{approach}+@{keep_bonus}]]t[Ring]+[[@{rank}+@{roll_bonus}]]t[Skill]"></button></td>
</tr>
</table>
</div>
</fieldset>
</div><!--Close Repeating Ninjutsu-->
</div><!--Close Ninjutsu Collapsable-->
</div><!--Close Bottom Section Left Column-->
<div class="sheet-col"><!--Open Bottom Section Right Column-->
@@ -1832,7 +1955,7 @@ Version 0.8.3 Beta
<td><input type="number" name="attr_roll_bonus_shuji" value="0"></td>
<td><input type="number" name="attr_keep_bonus_shuji" value="0"></td>
<td><input style="width:100px;" type="text" value="" name="attr_shuji_mod"/>
<td><button type="roll" value="/em @{name} @{skill_emote_14} @{shuji_name} @{skill_emote_13} @{shuji_approach_selected} @{skill_emote_3} [[@{shuji_approach}+@{keep_bonus_invocation}]]@{skill_emote_5} \n\n/roll [[@{shuji_approach}+@{keep_bonus_shuji}]]t[Ring]+[[@{rank_shuji}+@{roll_bonus_shuji}]]t[Skill]"></button></td>
<td><button type="roll" value="/em @{name} @{skill_emote_14} @{shuji_name} @{skill_emote_13} @{shuji_approach_selected} @{skill_emote_3} [[@{shuji_approach}+@{keep_bonus_shuji}]]@{skill_emote_5} \n\n/roll [[@{shuji_approach}+@{keep_bonus_shuji}]]t[Ring]+[[@{rank_shuji}+@{roll_bonus_shuji}]]t[Skill]"></button></td>
</tr>
</table>
@@ -1893,6 +2016,114 @@ Version 0.8.3 Beta
</div><!--Close Shuji Collapsable-->
<p></p>
<b data-i18n="maho-u">Mahō</b><input name="attr_maho_toggle" value="1" checked="checked" style="width:78px;margin:-13px -20px 0 -62px" class="sheet-toggle tab-maho" type="checkbox"/><span></span><!--Checkbox Maho Colapsable-->
<div class="tab-content tab-maho"><!--Open Maho Collapsable-->
<table style='border-collapse: collapse; border-spacing: 0; width:100%'>
<tr>
<td><b data-i18n="name-colon-u">Name:</b></td>
<td><input style="width:190px;" type="text" value="" name="attr_maho_name"/></td>
<td><b data-i18n="damage-colon-u">Damage:</b></td>
<td><input type="number" name="attr_maho_damage" value="0"/></td>
<td><b data-i18n="p-u">p#</b></td>
<td><input style="width:50px;" type="number" name="attr_maho_p#" value="0"/></td>
</tr>
</table>
<b data-i18n="activation-colon-u">Activation:</b>
<textarea name="attr_maho_activation" class="one-line"></textarea>
<b data-i18n="effects-colon-u">Effects:</b>
<textarea name="attr_maho_effects" class="two-lines"></textarea>
<img width="3%" src="https://i.imgur.com/sdRYAZd.png"/>
<textarea name="attr_maho_options" class="two-lines"></textarea>
<table style='border-collapse: collapse; border-spacing: 0; width:100%'>
<tr>
<td style="font-weight:bold" data-i18n="skill-u">Skill:</td>
<td style="font-weight:bold" data-i18n="approach-colon-u">Approach:</td>
<td style="font-weight:bold" data-i18n="roll-u">+Roll</td>
<td style="font-weight:bold" data-i18n="keep-u">+Keep</td>
<td style="font-weight:bold" data-i18n="modifiers-u">Modifiers:</td>
</tr>
<tr>
<td><input type="number" name="attr_rank_maho" value="0"/></td>
<td><select class="very-narrow" name="attr_maho_approach">
<option value="@{air}" data-i18n="air-u">Air</option>
<option value="@{earth}" data-i18n="earth-u">Earth</option>
<option value="@{fire}" data-i18n="fire-u">Fire</option>
<option value="@{water}" data-i18n="water-u">Water</option>
<option value="@{void}" data-i18n="void-u">Void</option>
</select></td>
<td><input type="number" name="attr_roll_bonus_maho" value="0"></td>
<td><input type="number" name="attr_keep_bonus_maho" value="0"></td>
<td><input style="width:100px;" type="text" value="" name="attr_maho_mod"/>
<td><button type="roll" value="/em @{name} @{skill_emote_9} @{maho_name} @{skill_emote_10} @{maho_approach_selected} @{skill_emote_3} [[@{maho_approach}+@{keep_bonus_maho}]]@{skill_emote_5} \n\n/roll [[@{maho_approach}+@{keep_bonus_maho}]]t[Ring]+[[@{rank_maho}+@{roll_bonus_maho}]]t[Skill]"></button></td>
</tr>
</table>
<div><!--Open Repeating Maho-->
<fieldset class="repeating_remaho">
<div style="width: 100%;">
<h6></h6><!--Section Seperator-->
<table style='border-collapse: collapse; border-spacing: 0; width:100%'>
<tr>
<td><b data-i18n="name-colon-u">Name:</b></td>
<td><input style="width:190px;" type="text" value="" name="attr_maho_name"/></td>
<td><b data-i18n="damage-colon-u">Damage:</b></td>
<td><input type="number" name="attr_maho_damage" value="0"/></td>
<td><b data-i18n="p-u">p#</b></td>
<td><input style="width:50px;" type="number" name="attr_maho_p#" value="0"/></td>
</tr>
</table>
<b data-i18n="activation-colon-u">Activation:</b>
<textarea name="attr_maho_activation" class="one-line"></textarea>
<b data-i18n="effects-colon-u">Effects:</b>
<textarea name="attr_maho_effects" class="two-lines"></textarea>
<img width="3%" src="https://i.imgur.com/sdRYAZd.png"/>
<textarea name="attr_maho_options" class="two-lines"></textarea>
<table style='border-collapse: collapse; border-spacing: 0; width:100%'>
<tr>
<td style="font-weight:bold" data-i18n="skill-u">Skill:</td>
<td style="font-weight:bold" data-i18n="approach-colon-u">Approach:</td>
<td style="font-weight:bold" data-i18n="roll-u">+Roll</td>
<td style="font-weight:bold" data-i18n="keep-u">+Keep</td>
<td style="font-weight:bold" data-i18n="modifiers-u">Modifiers:</td>
</tr>
<tr>
<td><input type="number" name="attr_rank" value="0"/></td>
<input type="hidden" name="attr_approach_selected" value="Air" />
<td><select class="very-narrow" name="attr_approach">
<option value="@{air}" data-i18n="air-u">Air</option>
<option value="@{earth}" data-i18n="earth-u">Earth</option>
<option value="@{fire}" data-i18n="fire-u">Fire</option>
<option value="@{water}" data-i18n="water-u">Water</option>
<option value="@{void}" data-i18n="void-u">Void</option>
</select></td>
<td><input type="number" name="attr_roll_bonus" value="0"></td>
<td><input type="number" name="attr_keep_bonus" value="0"></td>
<td><input style="width:100px;" type="text" value="" name="attr_mod"/>
<td><button type="roll" value="/em @{name} @{skill_emote_9} @{maho_name} @{skill_emote_10} @{approach_selected} @{skill_emote_3} [[@{approach}+@{keep_bonus}]]@{skill_emote_5} \n\n/roll [[@{approach}+@{keep_bonus}]]t[Ring]+[[@{rank}+@{roll_bonus}]]t[Skill]"></button></td>
</tr>
</table>
</div>
</fieldset>
</div><!--Close Repeating Maho-->
</div><!--Close Maho Collapsable-->
<p></p>
<h3 data-i18n="notes-u">Notes</h3>
<textarea name="attr_techniques_notes" class="two-lines"></textarea>
@@ -3354,15 +3585,15 @@ Version 0.8.3 Beta
<table style="width:100%;class="attribute">
<tr>
<tr>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="air-stance-u">Air Stance (conflict only): Air Stance (conflict only): Increase the TN of Attack and Scheme action checks targeting you by 1. If your school rank is 4 or higher, increase the TN by 2 instead.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="air-stance-u">AIR STANCE: +1 to TN of Attack and Scheme checks targeting you (+2 at rank 4+).</span>
<p></p> <h3 data-i18n="air-u" class="attribute">Air</h3></div></td>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="earth-stance-u">Earth Stance (conflict only): Other characters cannot spend opportunity targeting you.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="earth-stance-u">EARTH STANCE: Others cannot spend Opportunity to inflict critical strikes or conditions on you.</span>
<p></p> <h3 data-i18n="earth-u" class="attribute">Earth</h3></div></td>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="fire-stance-u">Fire Stance (conflict only): If you succeed, increase your degrees of success by 1 for each strife result.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="fire-stance-u">FIRE STANCE: If you succeed, +1 bonus success per Strife symbol.</span>
<p></p> <h3 data-i18n="fire-u" class="attribute">Fire</h3></div> </td>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="water-stance-u">Water Stance (conflict only): During your turn, you may perform 1 additional action that does not require a check.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="water-stance-u">WATER STANCE: Perform a second action on your turn that does not require a check or share a type with your first action.</span>
<p></p> <h3 data-i18n="water-u" class="attribute">Water</h3></div></td>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="void-stance-u">Void Stance (conflict only): You do not gain Strife from strife results on checks.</span>
<td style=background-color:#e1dacf;><div class="sheet-tooltip"><span class="sheet-tooltiptext" data-i18n="void-stance-u">VOID STANCE: You do not gain Strife from strife results on checks.</span>
<p></p> <h3 data-i18n="void-u" class="attribute">Void</h3></div> </td>
</tr>
</tr>
@@ -4485,56 +4716,42 @@ Version 0.8.3 Beta
<!-- Begin Sheet Workers -->
<script type="text/worker">
<!-- Endurance Calculation Worker -->
<script type="text/worker">
on("sheet:opened change:earth change:water", function() {
getAttrs(["earth", "water"], function(values) {
setAttrs({ foo_endurance: ((parseInt(values.earth)+parseInt(values.water))*2) });
on("sheet:opened change:earth change:fire", function() {
getAttrs(["earth", "fire"], function(values) {
setAttrs({ foo_endurance: ((parseInt(values.earth)+parseInt(values.fire))*2) });
});
});
</script>
<!-- Max Fatigue Worker -->
<script type="text/worker">
on("sheet:opened change:foo_endurance", function() {
getAttrs(["foo_endurance"], function(values) {
setAttrs({ Fatigue_max: (values.foo_endurance) });
});
});
</script>
<!-- Endurance Calculation Worker -->
<!-- Composure Calculation Worker -->
<script type="text/worker">
on("sheet:opened change:earth change:fire", function() {
getAttrs(["earth", "fire"], function(values) {
setAttrs({ foo_composure: ((parseInt(values.earth)+parseInt(values.fire))*2) });
on("sheet:opened change:earth change:water", function() {
getAttrs(["earth", "water"], function(values) {
setAttrs({ foo_composure: ((parseInt(values.earth)+parseInt(values.water))*2) });
});
});
</script>
<!-- Max Strife Worker -->
<script type="text/worker">
//<!-- Max Strife Worker -->
on("sheet:opened change:foo_composure", function() {
getAttrs(["foo_composure"], function(values) {
setAttrs({ Strife_max: (values.foo_composure) });
});
});
</script>
<!-- Focus Calculation Worker -->
//<!-- Focus Calculation Worker -->
<script type="text/worker">
on("sheet:opened change:air change:fire", function() {
getAttrs(["air", "fire"], function(values) {
@@ -4542,11 +4759,11 @@ Version 0.8.3 Beta
});
});
</script>
<!-- Vigilance Calculation Worker -->
//<!-- Vigilance Calculation Worker -->
<script type="text/worker">
on("sheet:opened change:water change:air", function() {
getAttrs(["water", "air"], function(values) {
@@ -4554,33 +4771,33 @@ Version 0.8.3 Beta
});
});
</script>
<!-- Max NPC Fatigue Worker -->
//<!-- Max NPC Fatigue Worker -->
<script type="text/worker">
on("sheet:opened change:npc_endurance", function() {
getAttrs(["npc_endurance"], function(values) {
setAttrs({ NPC_Fatigue_max: (values.npc_endurance) });
});
});
</script>
<!-- Max NPC Strife Worker -->
//<!-- Max NPC Strife Worker -->
<script type="text/worker">
on("sheet:opened change:npc_composure", function() {
getAttrs(["npc_composure"], function(values) {
setAttrs({ NPC_Strife_max: (values.npc_composure) });
});
});
</script>
<!-- Set Emote Text Worker -->
<script type="text/worker">
//<!-- Set Emote Text Worker -->
on("sheet:opened", function() {
var skill_emote_1 = getTranslationByKey('skill-emote1-u');
@@ -4682,11 +4899,11 @@ Version 0.8.3 Beta
setAttrs({ npc_trade_trans});
});
</script>
<!-- Set Approach Worker -->
//<!-- Set Approach Worker -->
<script type="text/worker">
on('sheet:opened change:aesthetics_approach', () => {
getAttrs(['aesthetics_approach'], (values) => {
const val = parseInt(values['aesthetics_approach']);
@@ -4812,9 +5029,9 @@ on('sheet:opened change:blank_artisan_approach', () => {
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_reartisan", function() {
getSectionIDs('repeating_reartisan', function (idArray) {
@@ -4846,9 +5063,9 @@ on('sheet:opened change:blank_artisan_approach', () => {
});
});
});
</script>
<script type="text/worker">
on('sheet:opened change:fitness_approach', () => {
getAttrs(['fitness_approach'], (values) => {
const val = parseInt(values['fitness_approach']);
@@ -5024,10 +5241,10 @@ on('sheet:opened change:blank_martial_approach', () => {
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_remartial", function() {
getSectionIDs('repeating_remartial', function (idArray) {
@@ -5059,9 +5276,9 @@ on('sheet:opened change:blank_martial_approach', () => {
});
});
});
</script>
<script type="text/worker">
on('sheet:opened change:command_approach', () => {
getAttrs(['command_approach'], (values) => {
const val = parseInt(values['command_approach']);
@@ -5186,9 +5403,9 @@ on('sheet:opened change:blank_social_approach', () => {
setAttrs({blank_social_approach_selected});
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_resocial", function() {
getSectionIDs('repeating_resocial', function (idArray) {
@@ -5220,9 +5437,9 @@ on('sheet:opened change:blank_social_approach', () => {
});
});
});
</script>
<script type="text/worker">
on('sheet:opened change:culture_approach', () => {
getAttrs(['culture_approach'], (values) => {
const val = parseInt(values['culture_approach']);
@@ -5373,9 +5590,9 @@ on('sheet:opened change:blank_scholar_approach', () => {
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_rescholar", function() {
getSectionIDs('repeating_rescholar', function (idArray) {
@@ -5407,9 +5624,9 @@ on('sheet:opened change:blank_scholar_approach', () => {
});
});
});
</script>
<script type="text/worker">
on('sheet:opened change:commerce_approach', () => {
getAttrs(['commerce_approach'], (values) => {
const val = parseInt(values['commerce_approach']);
@@ -5560,9 +5777,9 @@ on('sheet:opened change:blank_trade_approach', () => {
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_retrade", function() {
getSectionIDs('repeating_retrade', function (idArray) {
@@ -5594,9 +5811,9 @@ on('sheet:opened change:blank_trade_approach', () => {
});
});
});
</script>
<script type="text/worker">
on('sheet:opened change:npc_artisan_approach', () => {
getAttrs(['npc_artisan_approach'], (values) => {
const val = parseInt(values['npc_artisan_approach']);
@@ -5747,9 +5964,9 @@ on('sheet:opened change:blank_npc_skill_approach', () => {
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_renpcskills", function() {
getSectionIDs('repeating_renpcskills', function (idArray) {
@@ -5781,9 +5998,9 @@ on('sheet:opened change:blank_npc_skill_approach', () => {
});
});
});
</script>
<script type="text/worker">
on('sheet:opened change:kata_approach', () => {
getAttrs(['kata_approach'], (values) => {
const val = parseInt(values['kata_approach']);
@@ -5909,9 +6126,9 @@ on('sheet:opened change:shuji_approach', () => {
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_rekata", function() {
getSectionIDs('repeating_rekata', function (idArray) {
@@ -6067,9 +6284,9 @@ on('sheet:opened change:shuji_approach', () => {
});
});
});
</script>
<script type="text/worker">
on('sheet:opened change:approach_weapon1', () => {
getAttrs(['approach_weapon1'], (values) => {
const val = parseInt(values['approach_weapon1']);
@@ -6270,9 +6487,9 @@ on('sheet:opened change:approach_weapon8', () => {
});
});
</script>
<script type="text/worker">
on('sheet:opened change:approach_npc_weapon1', () => {
getAttrs(['approach_npc_weapon1'], (values) => {
const val = parseInt(values['approach_npc_weapon1']);
@@ -6398,9 +6615,9 @@ on('sheet:opened change:approach_npc_weapon5', () => {
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_renpcsweapon", function() {
getSectionIDs('repeating_renpcsweapon', function (idArray) {
@@ -6433,9 +6650,9 @@ on('sheet:opened change:approach_npc_weapon5', () => {
});
});
</script>
<script type="text/worker">
on('sheet:opened change:npc_kata_approach', () => {
getAttrs(['npc_kata_approach'], (values) => {
const val = parseInt(values['npc_kata_approach']);
@@ -6561,9 +6778,9 @@ on('sheet:opened change:npc_shuji_approach', () => {
});
});
</script>
<script type="text/worker">
on("sheet:opened change:repeating_renpckata", function() {
getSectionIDs('repeating_renpckata', function (idArray) {
@@ -6719,11 +6936,11 @@ on('sheet:opened change:npc_shuji_approach', () => {
});
});
});
</script>
<!-- 8.1 Conversion Worker -->
<script type="text/worker">
//<!-- 8.1 Conversion Worker -->
var convertFromOldSheet = function () {
// Non-repeating attributes to rename
@@ -6787,11 +7004,11 @@ on('sheet:opened', function () {
});
});
</script>
<!-- 8.2 Conversion Worker -->
<script type="text/worker">
//<!-- 8.2 Conversion Worker -->
var convertFromOldSheet = function () {
// Non-repeating attributes to rename