Update Godbound.html

This commit is contained in:
Almos80
2020-08-31 22:26:37 +02:00
committed by GitHub
parent 52a4587f3a
commit 453ef7c32a
+52 -7
View File
@@ -850,8 +850,11 @@
<input type="hidden" name="attr_calc_gift_effort_spent" value="0"/>
<input type="hidden" name="attr_calc_miracle_effort_spent" value="0"/>
<input type="hidden" name="attr_calc_technique_effort_spent" value="0"/>
<input type="hidden" name="attr_calc_invocation_gate_effort_spent" value="0"/>
<input type="hidden" name="attr_calc_invocation_way_effort_spent" value="0"/>
<input type="hidden" name="attr_calc_invocation_throne_effort_spent" value="0"/>
<input type="hidden" name="attr_calc_artifact_effort_spent" value="0"/>
<input type="hidden" name="attr_calc_effort_spent" value="(@{calc_word_effort_spent}+@{calc_gift_effort_spent}+@{calc_miracle_effort_spent}+@{calc_technique_effort_spent}+@{calc_artifact_effort_spent})"/>
<input type="hidden" name="attr_calc_effort_spent" value="(@{calc_word_effort_spent}+@{calc_gift_effort_spent}+@{calc_miracle_effort_spent}+@{calc_technique_effort_spent}+@{calc_invocation_gate_effort_spent}+@{calc_invocation_way_effort_spent}+@{calc_invocation_throne_effort_spent}+@{calc_artifact_effort_spent})"/>
<input type="number" name="attr_effort_spent" value="(@{calc_effort_spent}+@{miracle_succeed_on_save_effort}+@{miracle_suppress_effect_effort})" disabled="true"/>
</div>
<div class="col-3-20 attr vert-middle center pad-t-sm pad-r-md">
@@ -897,6 +900,18 @@
<input type="number" name="attr_dominion_monthly" value="0"/>
</div>
</div>
<hr/>
<div class="row pad-b-sm">
<div class="col-9-20 attr vert-middle right pad-l-sm pad-t-md pad-r-md">
Misc Effort Spent
</div>
<div class="col-3-20 attr vert-middle center pad-t-sm pad-r-md">
<input type="number" name="attr_effort_misc_spent" value=""/>
</div>
<div class="col-2-5 vert-middle pad-t-sm pad-r-md">
(healing and other)
</div>
</div>
<!--- WORDS SECTION --->
<div class="row pad-b-sm">
<div class="col-1 title-banner-subheading pad-t-md pad-b-sm mar-t-md">
@@ -1503,18 +1518,24 @@
</div>
</div>
<div class="row pad-b-md">
<div class="col-19-20 attr vert-middle underline pad-l-sm pad-t-sm pad-r-md">
<div class="col-4-5 attr vert-middle underline pad-l-sm pad-t-sm pad-r-md">
Invocation
</div>
<div class="col-3-20 attr vert-middle center underline pad-t-sm pad-r-md">
Effort
</div>
<div class="col-1-20 attr vert-middle center underline pad-t-sm pad-r-sm">
<br/>
</div>
</div>
<fieldset class="repeating_gate">
<div class="row mar-b-sm">
<div class="col-19-20 attr vert-middle pad-l-sm pad-t-sm pad-r-md">
<div class="col-4-5 attr vert-middle pad-l-sm pad-t-sm pad-r-md">
<input type="text" name="attr_invocation_gate_name_repeat" value="" placeholder="Invocation name"/>
</div>
<div class="col-3-20 attr vert-middle center pad-t-sm pad-r-sm">
<input type="number" name="attr_invocation_gate_effort_repeat" value="0"/>
</div>
<div class="col-1-20 attr vert-middle center pad-t-sm pad-r-sm">
<input type="checkbox" class="circle-check" name="attr_invocation_gate_description_show_repeat" value="1"><span></span>
</div>
@@ -1536,18 +1557,24 @@
</div>
</div>
<div class="row pad-b-md">
<div class="col-19-20 attr vert-middle underline pad-l-sm pad-t-sm pad-r-md">
<div class="col-4-5 attr vert-middle underline pad-l-sm pad-t-sm pad-r-md">
Invocation
</div>
<div class="col-3-20 attr vert-middle center underline pad-t-sm pad-r-md">
Effort
</div>
<div class="col-1-20 attr vert-middle center underline pad-t-sm pad-r-sm">
<br/>
</div>
</div>
<fieldset class="repeating_way">
<div class="row mar-b-sm">
<div class="col-19-20 attr vert-middle pad-l-sm pad-t-sm pad-r-md">
<div class="col-4-5 attr vert-middle pad-l-sm pad-t-sm pad-r-md">
<input type="text" name="attr_invocation_way_name_repeat" value="" placeholder="Invocation name"/>
</div>
<div class="col-3-20 attr vert-middle center pad-t-sm pad-r-sm">
<input type="number" name="attr_invocation_way_effort_repeat" value="0"/>
</div>
<div class="col-1-20 attr vert-middle center pad-t-sm pad-r-sm">
<input type="checkbox" class="circle-check" name="attr_invocation_way_description_show_repeat" value="1"><span></span>
</div>
@@ -1569,18 +1596,24 @@
</div>
</div>
<div class="row pad-b-md">
<div class="col-19-20 attr vert-middle underline pad-l-sm pad-t-sm pad-r-md">
<div class="col-4-5 attr vert-middle underline pad-l-sm pad-t-sm pad-r-md">
Invocation
</div>
<div class="col-3-20 attr vert-middle center underline pad-t-sm pad-r-md">
Effort
</div>
<div class="col-1-20 attr vert-middle center underline pad-t-sm pad-r-sm">
<br/>
</div>
</div>
<fieldset class="repeating_throne">
<div class="row mar-b-sm">
<div class="col-19-20 attr vert-middle pad-l-sm pad-t-sm pad-r-md">
<div class="col-4-5 attr vert-middle pad-l-sm pad-t-sm pad-r-md">
<input type="text" name="attr_invocation_throne_name_repeat" value="" placeholder="Invocation name"/>
</div>
<div class="col-3-20 attr vert-middle center pad-t-sm pad-r-sm">
<input type="number" name="attr_invocation_throne_effort_repeat" value="0"/>
</div>
<div class="col-1-20 attr vert-middle center pad-t-sm pad-r-sm">
<input type="checkbox" class="circle-check" name="attr_invocation_throne_description_show_repeat" value="1"><span></span>
</div>
@@ -2989,6 +3022,18 @@
TAS.repeatingSimpleSum('techniques','technique_effort_repeat','calc_technique_effort_spent');
});
on("change:repeating_gate remove:repeating_gate", function (eventInfo) {
TAS.repeatingSimpleSum('gate','invocation_gate_effort_repeat','calc_invocation_gate_effort_spent');
});
on("change:repeating_way remove:repeating_way", function (eventInfo) {
TAS.repeatingSimpleSum('way','invocation_way_effort_repeat','calc_invocation_way_effort_spent');
});
on("change:repeating_throne remove:repeating_throne", function (eventInfo) {
TAS.repeatingSimpleSum('throne','invocation_throne_effort_repeat','calc_invocation_throne_effort_spent');
});
on("change:repeating_projects remove:repeating_projects", function(eventInfo) {
TAS.repeatingSimpleSum('projects', 'project_dominion_repeat', 'calc_dominion_spent');
TAS.repeatingSimpleSum('projects', 'project_influence_repeat', 'calc_influence_spent');