fixes
This commit is contained in:
@@ -803,8 +803,8 @@
|
||||
</div>
|
||||
<input type="checkbox" name="attr_Quick_Spell_show" class="sheet-hidden sheet-hider" value="1" />
|
||||
<div class="sheet-col-1-6 sheet-right sheet-vert-middle" style="padding-left: 4px;">
|
||||
<span style="font-size: 9px;position: relative;bottom: 6px;accent-coloraccent-coloraccent-coloraccent-coloraccent-coloraccent-coloraccent-color: ;" >Lore</span>
|
||||
<span style="font-size: 9px;position: relative;top: 5px;right: 25px;" >Mods</span>
|
||||
<span style="font-size: 9px;position: relative;bottom: 6px;" data-i18n="LORE">Lore</span>
|
||||
<span style="font-size: 9px;position: relative;top: 5px;right: 22px;" data-i18n="MOD">Mod</span>
|
||||
</div>
|
||||
<input type="checkbox" name="attr_Quick_Spell_show" class="sheet-hidden sheet-hider" value="1" />
|
||||
<div class="sheet-col-1-6 sheet-right sheet-vert-middle">
|
||||
@@ -1009,10 +1009,10 @@
|
||||
<div class="sheet-col-4-10 sheet-left" style="position: relative ; bottom: 2px">
|
||||
<input type="number" name="attr_Quick_Pray_Mod" value="0" style="height: 19px">
|
||||
</div>
|
||||
<div style="position: relative ; right: 5px; bottom: 2px" class="sheet-col-1-3 sheet-left">
|
||||
<div class="sheet-col-1-3 sheet-left" style="position: relative ; right: 5px; bottom: 2px">
|
||||
<input type="value" class="sheet-center" name="attr_Quick_Pray_Target" value="(@{PrayChar}+@{PrayAdv}+@{PrayMisc}+(@{condgen}*-1))*@{PrayTaken}" style="height: 19px" disabled="" data-formula="(@{PrayChar}+@{PrayAdv}+@{PrayMisc}+(@{condgen}*-1))*@{PrayTaken}">
|
||||
</div>
|
||||
<div class="sheet-col-1-18 sheet-left sheet-mar-l-lg" style="height: 18px ; position: relative ; right: 23px ; bottom: 1px">
|
||||
<div class="sheet-col-1-18 sheet-left sheet-mar-l-lg" style="height: 18px; position: relative ; right: 23px; bottom: 2px">
|
||||
<button class="sheet-cond-reset" type="action" name="act_resetQuickPray" title="Reset" style="height: 19px"><span>1</span></button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1024,7 +1024,7 @@
|
||||
<div class="sheet-col-1-3 sheet-left" style="position: relative ; right: 5px">
|
||||
<input type="value" class="sheet-center" name="attr_Quick_Spell_Target" value="(@{Advantage}*10*@{Advantage_casting})+(@{LangMagickChar}+@{LangMagickAdv}+@{LangMagickMisc}+@{Quick_Spell_Mod}+(@{condgen_see}*-1))*@{LangMagickTaken}" style="height: 19px" disabled="" data-formula="(@{Advantage}*10*@{Advantage_casting})+(@{LangMagickChar}+@{LangMagickAdv}+@{LangMagickMisc}+@{Quick_Spell_Mod}+(@{condgen_see}*-1))*@{LangMagickTaken}">
|
||||
</div>
|
||||
<div class="sheet-col-1-18 sheet-left sheet-mar-l-lg" style="height: 18px; position: relative ; right: 23px; top: 1px">
|
||||
<div class="sheet-col-1-18 sheet-left sheet-mar-l-lg" style="height: 18px; position: relative ; right: 23px; top: 0px">
|
||||
<button class="sheet-cond-reset" type="action" name="act_resetQuickSpell" title="Reset" style="height: 19px;"><span>1</span></button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -48637,12 +48637,17 @@ on('sheet:opened change:Quick_Spell_Lore change:Quick_Spell_LoreMod', function(e
|
||||
if (lore === 14) {showpray = 1;} else {showpray = 0;}
|
||||
if (lore === 0) {showarc = 2;}
|
||||
|
||||
mod = v.Quick_Spell_LoreMod*10;
|
||||
|
||||
if (mod > 60) {modout = 60}
|
||||
if (mod < -50) {modout = -30}
|
||||
|
||||
setAttrs({
|
||||
"Quick_Spell_MagicLore": lore,
|
||||
"Quick_Spell_show": showarc,
|
||||
"Quick_Pray_show": showpray,
|
||||
"Quick_Spell_LoreMod_show": loremod,
|
||||
"Quick_Spell_Mod": v.Quick_Spell_LoreMod*10,
|
||||
"Quick_Spell_Mod": modout,
|
||||
}, {silent: true});
|
||||
|
||||
getSectionIDs("repeating_spellbookpetty", function (ids) {
|
||||
|
||||
Reference in New Issue
Block a user