#16 - Added autocalc for wildshape
This commit is contained in:
+22
-1
@@ -715,7 +715,7 @@
|
||||
<input type="hidden" name="attr_cd_total" value="@{cd_first_combined} + @{cd_cleric_6} + @{cd_cleric_18}" disabled="disabled">
|
||||
|
||||
<div class="sheet-row sheet-sub-header">
|
||||
<div class="sheet-col-1-4 sheet-center sheet-small-label">Resource</div>
|
||||
<div class="sheet-col-1-4 sheet-center sheet-small-label">Divine Resource</div>
|
||||
<div class="sheet-col-1-4 sheet-center sheet-small-label">Recharges on a</div>
|
||||
<div class="sheet-col-1-6 sheet-center sheet-small-label">Current</div>
|
||||
<div class="sheet-col-1-6 sheet-center sheet-small-label">Max</div>
|
||||
@@ -733,6 +733,27 @@
|
||||
</div>
|
||||
|
||||
<div class="sheet-class-section-druid">
|
||||
|
||||
<!-- Hidden wildshape calc -->
|
||||
<input type="hidden" name="attr_wildshape_2" value="ceil((@{druid_level}/1e10) - (1/1e10))" disabled="disabled">
|
||||
<input type="hidden" name="attr_wildshape_8" value="ceil((@{druid_level}/1e10) - (7/1e10))" disabled="disabled">
|
||||
<input type="hidden" name="attr_wildshape_total" value="@{wildshape_2} + @{wildshape_8}" disabled="disabled">
|
||||
|
||||
<div class="sheet-row sheet-sub-header">
|
||||
<div class="sheet-col-1-4 sheet-center sheet-small-label">Druid Resource</div>
|
||||
<div class="sheet-col-1-4 sheet-center sheet-small-label">Recharges on a</div>
|
||||
<div class="sheet-col-1-6 sheet-center sheet-small-label">Current</div>
|
||||
<div class="sheet-col-1-6 sheet-center sheet-small-label">Max</div>
|
||||
<div class="sheet-col-1-6 sheet-center sheet-small-label">Macro</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-col-1-4 sheet-center sheet-margin-top">Wildshape</div>
|
||||
<div class="sheet-col-1-4 sheet-center sheet-margin-top">Short Rest</div>
|
||||
<div class="sheet-col-1-6"><input type="number" name="attr_wildshape" value="0" min="0" step="1"></div>
|
||||
<div class="sheet-col-1-6"><input type="number" name="attr_wildshape_max" value="@{wildshape_total}" disabled="disabled"></div>
|
||||
<div class="sheet-col-1-6 sheet-center">-</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user