fix dmg ranged calc

This commit is contained in:
Chris B
2017-06-13 11:10:23 -04:00
parent 76f37a6618
commit e091b0c960
+10 -3
View File
@@ -1,3 +1,10 @@
<!--
-
-
-DEVELOPMENT NOT FOR PROD SUPPORT YET
-
-
-->
<input type="checkbox" name="attr_use_specfont" value="1" class="sheet-accessible sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_specfont" value="2" class="sheet-comic sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_specfont" value="3" class="sheet-segoe sheet-noshow" role="presentation" />
@@ -2216,7 +2223,7 @@
</div>
<div class="sheet-table-row">
<span class="sheet-table-row-name sheet-center"><span class="sheet-rowname-button" style="font-size:1.3em;font-weight:normal;" data-i18n="damage-ranged-abbrv">Ranged dmg</span></span>
<span class="sheet-table-cell"><input type="text" title="@{DMG_ranged-mod}" name="attr_DMG_ranged-mod" value="@{buff_DMG_ranged-total}+@{condition-Sickened}" class="sheet-calc sheet-number" disabled /></span>
<span class="sheet-table-cell"><input type="text" title="@{DMG_ranged-mod}" name="attr_DMG_ranged-mod" value="@{buff_DMG_ranged-total}=@{condition-Sickened}" class="sheet-calc sheet-number" disabled /></span>
<span class="sheet-divider">=</span>
<span class="sheet-table-cell"></span>
<span class="sheet-divider"></span>
@@ -13043,7 +13050,7 @@
</div>
<div data-i18n-aria-label="footer-aria" class="sheet-footer" aria-label="Help links and footer information">
<div class="sheet-table">
<span data-i18n="footer-info">Created by Samuel Marino w/contributions by Vince, Chris Buchholz, Magik, James W. | Last updated:</span> <i>Tue Jun 13 2017 11:02:53 GMT &nbsp;&nbsp;</i>v.<input type="text" style="width: 2.5em ; height: 1.4em ; vertical-align: top ; padding: 0px 2px 0 2px ; border: none" name="attr_PFSheet_Version" value="0" class="sheet-calc sheet-number" readonly="" title="A non-blank version indicates attributes have been successfully recalculated.">
<span data-i18n="footer-info">Created by Samuel Marino w/contributions by Vince, Chris Buchholz, Magik, James W. | Last updated:</span> <i>Tue Jun 13 2017 11:09:32 GMT &nbsp;&nbsp;</i>v.<input type="text" style="width: 2.5em ; height: 1.4em ; vertical-align: top ; padding: 0px 2px 0 2px ; border: none" name="attr_PFSheet_Version" value="0" class="sheet-calc sheet-number" readonly="" title="A non-blank version indicates attributes have been successfully recalculated.">
</div>
<div class="sheet-table" style="margin-top: -.5em;">
<span class="sheet-table-cell sheet-3col"><button type="roll" class="sheet-no-decoration" title="url will appear in chat" style="color: #0000ff" name="roll_blank" value="http://tinyurl.com/PF-Thread"><b style="font-size:.75em;" data-i18n="questions-feedback">Questions/Feedback?</b></button></span>
@@ -29211,7 +29218,7 @@ function expandAll() {
function setupNewSheet(callback) {
var done = _underscore2.default.once(function () {
setAttrs({ 'is_newsheet': 0, 'is_v1': 1, 'use_advanced_options': 0, 'PFSheet_Version': String(_PFConst2.default.version.toFixed(2)),
'attentionv156-show': 1 }, _PFConst2.default.silentParams, function () {
'attentionv154-show': 1 }, _PFConst2.default.silentParams, function () {
if (typeof callback === "function") {
callback();
}