Merge branch 'Roll20:master' into 3DX-Corvos

This commit is contained in:
ap-gabriel
2025-08-05 15:28:28 -03:00
committed by GitHub
3 changed files with 173 additions and 13 deletions
+16
View File
@@ -1016,6 +1016,22 @@ body.sheet-darkmode .sheet-rolltemplate-check button {
width:268px;
}
/* Show/Hide from CSS Wizardry */
.sheet-toggle-show {
height: 22px;
width: 16px;
margin:0;
padding: 8px 0px 0px 0px;
border: 1px solid Black;
background-color: Green;
}
input[type="checkbox"].sheet-toggle-show:not(:checked) ~ div.sheet-body {
display: none;
}
/* Buttons Styling */
.charsheet button[type=action].sheet-textButton,
+155 -12
View File
@@ -62,7 +62,10 @@
<div style="display: inline-block; vertical-align: top; width: 200px; margin-top: 10px; border: 0px solid black">
<input type="text" name="attr_athleticismBase" class="sheet-levelDS" value="" data-i18n-title="athleticism-defn">
<label class="sheet-derivedStatGray" title="CON + AG" style="border-right: 3px solid Black;" data-i18n="athleticism-u">ATHLETICISM</label>
<button type='action' name='act_athleticism-action' class="sheet-buttonSkill" style="border: 0; margin: -1px 0px 0px -5px;" value='@{athleticism_action}'>
<label class="sheet-derivedStatGray" title="CON + AG" style="border-right: 3px solid Black;" data-i18n="athleticism-u">ATHLETICISM</label></button>
<!-- <label class="sheet-derivedStatGray" title="CON + AG" style="border-right: 3px solid Black;" data-i18n="athleticism-u">ATHLETICISM</label>-->
</div>
<div style="width: 196px; height: 72px; margin-top: 16px; border: 3px solid black">
@@ -275,31 +278,48 @@
<label class="sheet-sectionLine" style="width: 138px; margin-left: 0px;" data-i18n="weaponName-u">WEAPON NAME</label>
<label class="sheet-sectionLine" style="width: 68px;" data-i18n="type-u">TYPE</label>
<label class="sheet-sectionLine" style="width: 68px;" data-i18n="attacks-u">ATTACKS</label>
<label class="sheet-sectionLine" style="width: 96px;" data-i18n="bFFUc-u">BF/F/UC</label>
<label class="sheet-sectionLine" style="width: 80px;" data-i18n-title="bruteForceOrFinesse-c" data-i18n="bFF-u">BF/F</label>
<label class="sheet-sectionLine" style="width: 83px;" data-i18n="accuracy-u">ACCURACY</label>
<label class="sheet-sectionLine" style="width: 78px; background-color: Gray;" data-i18n="hit-u">HIT</label>
<label class="sheet-sectionLine" style="width: 87px;" data-i18n="damage-u">DAMAGE</label>
<label class="sheet-sectionLine" style="width: 103px;" data-i18n="damage-u">DAMAGE</label>
<button type='action' name='act_melee1-action' style="box-sizing: content-box; width: 18px; heigth: 28px; border: 0px solid black; padding: 4px 1px 1px 1px;" value='@{melee1_action}'><label class="sheet-attack-button">j</label></button>
<input name="attr_mWeaponName1" type="text" class="sheet-sectionRow" style="width: 114px;"/>
<input name="attr_mType1" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_mAttacks1" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_mBFFUc1" type="text" class="sheet-sectionRow" style="width: 92px;"/>
<input name="attr_mBFFUc1" type="text" class="sheet-sectionRow" style="width: 76px;"/>
<input name="attr_mAccuracy1" type="text" class="sheet-sectionRow" style="width: 78px;"/>
<input name="attr_mHit1" type="text" class="sheet-sectionRow" style="width: 74px;"/>
<input name="attr_mDamage1" type="text" class="sheet-sectionRow" style="width: 84px;"/>
<label for="extraNotes1" style="display: inline-block; vertical-align: top; width: 16px; height: 22px; margin: 0px 0px 0px -3px; padding: 6px 0px 0px 0px;">&#x25BC;</label>
<input type="checkbox" name='attr_ExtraCheck1' id="extraNotes1" class="sheet-toggle-show" style="width: 16px; height: 22px; margin: 8px 0px 0px -16px; " />
<div class="sheet-body"><textarea name="attr_ExtraNotes1" style="height:50px; width: 588px; max-width: 588px; margin: 0px 0px 0px 24px; border: 1px solid DimGray;" placeholder="Special Rules"></textarea></div>
<button type='action' name='act_melee2-action' style="box-sizing: content-box; width: 18px; heigth: 28px; border: 0px solid black; padding: 4px 1px 1px 1px;" value='@{melee2_action}'><label class="sheet-attack-button">j</label></button>
<!-- <button class="sheet-attack-button" type="roll" name="roll_attackroll" value="&{template:meleeRoll} {{name=@{character_name} *attacks with* @{mWeaponName2}}} {{Roll=[[1d20+@{mBFFUc2}+@{mAccuracy2}+?{Weapon Bonus?|0}]]}} {{Damage=[[@{mDamage2}]]}} {{DL=[[?{DL?|10}]]}} {{Luck=[[1d20]]}} {{Check=[[1]]}}"></button> -->
<input name="attr_mWeaponName2" type="text" class="sheet-sectionRow" style="width: 114px;"/>
<input name="attr_mType2" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_mAttacks2" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_mBFFUc2" type="text" class="sheet-sectionRow" style="width: 92px;"/>
<input name="attr_mBFFUc2" type="text" class="sheet-sectionRow" style="width: 76px;"/>
<input name="attr_mAccuracy2" type="text" class="sheet-sectionRow" style="width: 78px;"/>
<input name="attr_mHit2" type="text" class="sheet-sectionRow" style="width: 74px;"/>
<input name="attr_mDamage2" type="text" class="sheet-sectionRow" style="width: 84px;"/>
<label for="extraNotes2" style="display: inline-block; vertical-align: top; width: 16px; height: 22px; margin: 0px 0px 0px -3px; padding: 6px 0px 0px 0px;">&#x25BC;</label>
<input type="checkbox" name='attr_ExtraCheck2' id="extraNotes2" class="sheet-toggle-show" style="width: 16px; height: 22px; margin: 8px 0px 0px -16px; " />
<div class="sheet-body"><textarea name="attr_ExtraNotes2" style="height:50px; width: 588px; max-width: 588px; margin: 0px 0px 0px 24px; border: 1px solid DimGray;" placeholder="Special Rules"></textarea></div>
<button type='action' name='act_melee3-action' style="box-sizing: content-box; width: 18px; heigth: 28px; border: 0px solid black; padding: 4px 1px 1px 1px;" value='@{melee2_action}'><label class="sheet-attack-button">j</label></button>
<input name="attr_mWeaponName3" type="text" class="sheet-sectionRow" style="width: 114px;"/>
<input name="attr_mType3" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_mAttacks3" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_mBFFUc3" type="text" class="sheet-sectionRow" style="width: 76px;"/>
<input name="attr_mAccuracy3" type="text" class="sheet-sectionRow" style="width: 78px;"/>
<input name="attr_mHit3" type="text" class="sheet-sectionRow" style="width: 74px;"/>
<input name="attr_mDamage3" type="text" class="sheet-sectionRow" style="width: 84px;"/>
<label for="extraNotes3" style="display: inline-block; vertical-align: top; width: 16px; height: 22px; margin: 0px 0px 0px -3px; padding: 6px 0px 0px 0px;">&#x25BC;</label>
<input type="checkbox" name='attr_ExtraCheck3' id="extraNotes3" class="sheet-toggle-show" style="width: 16px; height: 22px; margin: 8px 0px 0px -16px; " />
<div class="sheet-body"><textarea name="attr_ExtraNotes3" style="height:50px; width: 588px; max-width: 588px; margin: 0px 0px 0px 24px; border: 1px solid DimGray;" placeholder="Special Rules"></textarea></div>
</div>
<div class="sheet-ranged">
<label class="sheet-sectionTitle" data-i18n="rangedCombat-u">RANGED COMBAT</label>
@@ -429,6 +449,7 @@
<input class="sheet-desc2" type="text" name="attr_note7" style="width: 96%;" data-i18n-title="note7-c"/>
<input class="sheet-desc2" type="text" name="attr_note8" style="width: 96%; border-bottom: 0px solid Black;" data-i18n-title="note8-c"/>
</div>
<div class="sheet-powers">
<label class="sheet-sectionTitle" data-i18n="powers-u">POWERS</label>
<label class="sheet-sectionLine" style="width: 150px; margin-left: 0px;" data-i18n="name-u">NAME</label>
@@ -438,6 +459,101 @@
<label class="sheet-sectionLine" style="width: 90px;" data-i18n="range-u">RANGE</label>
<label class="sheet-sectionLine" style="width: 326px; border-right: 0px solid Black;" data-i18n="effect-u">EFFECT</label>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 470px; border: 0px solid Red;">
<button type='action' name='act_power1-action' style="box-sizing: content-box; width: 18px; heigth: 20px; border: 0px solid black; padding: 2px 1px 1px 4px;" value='@{power1_action}'><label class="sheet-attack-button">j</label></button>
<label for="extraPowerNotes1" style="display: inline-block; vertical-align: top; width: 14px; height: 14px; margin: 18px 0px 0px -24px; padding: 0px 0px 0px 0px;">&#x25BC;</label>
<input type="checkbox" name='attr_ExtraPowerCheck1' id="extraPowerNotes1" class="sheet-toggle-show" style="width: 14px; height: 14px; margin: 18px 0px 0px -24px; " />
<input name="attr_pName1" type="text" class="sheet-sectionRow" style="width: 128px;"/>
<input name="attr_pType1" type="text" class="sheet-sectionRow" style="width: 96px;"/>
<input name="attr_pDL1" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pCost1" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pRange1" type="text" class="sheet-sectionRow" style="width: 84px;"/>
<div class="sheet-body"><textarea name="attr_ExtraPowerNotes1" style="height: 100px; width: 448px; max-width: 448px; margin: 0px 0px 0px 20px; border: 1px solid DimGray;" placeholder="Description"></textarea></div>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 324px; margin: 0px 0px 0px -2px; border: 0px solid Blue;">
<input name="attr_pEffect1a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect1b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect1c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect1d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect1e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 470px; border: 0px solid Red;">
<button type='action' name='act_power2-action' style="box-sizing: content-box; width: 18px; heigth: 20px; border: 0px solid black; padding: 2px 1px 1px 4px;" value='@{power1_action}'><label class="sheet-attack-button">j</label></button>
<label for="extraPowerNotes2" style="display: inline-block; vertical-align: top; width: 14px; height: 14px; margin: 18px 0px 0px -24px; padding: 0px 0px 0px 0px;">&#x25BC;</label>
<input type="checkbox" name='attr_ExtraPowerCheck2' id="extraPowerNotes2" class="sheet-toggle-show" style="width: 14px; height: 14px; margin: 18px 0px 0px -24px; " />
<input name="attr_pName2" type="text" class="sheet-sectionRow" style="width: 128px;"/>
<input name="attr_pType2" type="text" class="sheet-sectionRow" style="width: 96px;"/>
<input name="attr_pDL2" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pCost2" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pRange2" type="text" class="sheet-sectionRow" style="width: 84px;"/>
<div class="sheet-body"><textarea name="attr_ExtraPowerNotes2" style="height: 100px; width: 448px; max-width: 448px; margin: 0px 0px 0px 20px; border: 1px solid DimGray;" placeholder="Description"></textarea></div>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 324px; margin: 0px 0px 0px -2px; border: 0px solid Blue;">
<input name="attr_pEffect2a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect2b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect2c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect2d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect2e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 470px; border: 0px solid Red;">
<button type='action' name='act_power3-action' style="box-sizing: content-box; width: 18px; heigth: 20px; border: 0px solid black; padding: 2px 1px 1px 4px;" value='@{power1_action}'><label class="sheet-attack-button">j</label></button>
<label for="extraPowerNotes3" style="display: inline-block; vertical-align: top; width: 14px; height: 14px; margin: 18px 0px 0px -24px; padding: 0px 0px 0px 0px;">&#x25BC;</label>
<input type="checkbox" name='attr_ExtraPowerCheck3' id="extraPowerNotes3" class="sheet-toggle-show" style="width: 14px; height: 14px; margin: 18px 0px 0px -24px; " />
<input name="attr_pName3" type="text" class="sheet-sectionRow" style="width: 128px;"/>
<input name="attr_pType3" type="text" class="sheet-sectionRow" style="width: 96px;"/>
<input name="attr_pDL3" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pCost3" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pRange3" type="text" class="sheet-sectionRow" style="width: 84px;"/>
<div class="sheet-body"><textarea name="attr_ExtraPowerNotes3" style="height: 100px; width: 448px; max-width: 448px; margin: 0px 0px 0px 20px; border: 1px solid DimGray;" placeholder="Description"></textarea></div>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 324px; margin: 0px 0px 0px -2px; border: 0px solid Blue;">
<input name="attr_pEffect3a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect3b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect3c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect3d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect3e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 470px; border: 0px solid Red;">
<button type='action' name='act_power4-action' style="box-sizing: content-box; width: 18px; heigth: 20px; border: 0px solid black; padding: 2px 1px 1px 4px;" value='@{power1_action}'><label class="sheet-attack-button">j</label></button>
<label for="extraPowerNotes4" style="display: inline-block; vertical-align: top; width: 14px; height: 14px; margin: 18px 0px 0px -24px; padding: 0px 0px 0px 0px;">&#x25BC;</label>
<input type="checkbox" name='attr_ExtraPowerCheck4' id="extraPowerNotes4" class="sheet-toggle-show" style="width: 14px; height: 14px; margin: 18px 0px 0px -24px; " />
<input name="attr_pName4" type="text" class="sheet-sectionRow" style="width: 128px;"/>
<input name="attr_pType4" type="text" class="sheet-sectionRow" style="width: 96px;"/>
<input name="attr_pDL4" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pCost4" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pRange4" type="text" class="sheet-sectionRow" style="width: 84px;"/>
<div class="sheet-body"><textarea name="attr_ExtraPowerNotes4" style="height: 100px; width: 448px; max-width: 448px; margin: 0px 0px 0px 20px; border: 1px solid DimGray;" placeholder="Description"></textarea></div>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 324px; margin: 0px 0px 0px -2px; border: 0px solid Blue;">
<input name="attr_pEffect4a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect4b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect4c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect4d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect4e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 470px; border: 0px solid Red;">
<button type='action' name='act_power5-action' style="box-sizing: content-box; width: 18px; heigth: 20px; border: 0px solid black; padding: 2px 1px 1px 4px;" value='@{power1_action}'><label class="sheet-attack-button">j</label></button>
<label for="extraPowerNotes5" style="display: inline-block; vertical-align: top; width: 14px; height: 14px; margin: 18px 0px 0px -24px; padding: 0px 0px 0px 0px;">&#x25BC;</label>
<input type="checkbox" name='attr_ExtraPowerCheck5' id="extraPowerNotes5" class="sheet-toggle-show" style="width: 14px; height: 14px; margin: 18px 0px 0px -24px; " />
<input name="attr_pName5" type="text" class="sheet-sectionRow" style="width: 128px;"/>
<input name="attr_pType5" type="text" class="sheet-sectionRow" style="width: 96px;"/>
<input name="attr_pDL5" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pCost5" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pRange5" type="text" class="sheet-sectionRow" style="width: 84px;"/>
<div class="sheet-body"><textarea name="attr_ExtraPowerNotes5" style="height: 100px; width: 448px; max-width: 448px; margin: 0px 0px 0px 20px; border: 1px solid DimGray;" placeholder="Description"></textarea></div>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 324px; margin: 0px 0px 0px -2px; border: 0px solid Blue;">
<input name="attr_pEffect5a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect5b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect5c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect5d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
<input name="attr_pEffect5e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0;"/>
</div>
<!--
<button type='action' name='act_power1-action' style="box-sizing: content-box; width: 18px; heigth: 28px; border: 0px solid black; padding: 4px 1px 1px 4px;" value='@{power1_action}'><label class="sheet-attack-button">j</label></button>
<input name="attr_pName1" type="text" class="sheet-sectionRow" style="width: 122px;"/>
<input name="attr_pType1" type="text" class="sheet-sectionRow" style="width: 96px;"/>
@@ -447,17 +563,24 @@
<input name="attr_pEffect1a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect1b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect1c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect1d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect1e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 470px; border: 1px solid Red;">
<button type='action' name='act_power2-action' style="box-sizing: content-box; width: 18px; heigth: 28px; border: 0px solid black; padding: 4px 1px 1px 4px;" value='@{power2_action}'><label class="sheet-attack-button">j</label></button>
<input name="attr_pName2" type="text" class="sheet-sectionRow" style="width: 122px;"/>
<input name="attr_pType2" type="text" class="sheet-sectionRow" style="width: 96px;"/>
<input name="attr_pDL2" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pCost2" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pRange2" type="text" class="sheet-sectionRow" style="width: 86px;"/>
<input name="attr_pRange2" type="text" class="sheet-sectionRow" style="width: 84px;"/>
</div>
<div style="display: inline-block; vertical-align: top; box-sizing: content-box; width: 324px; margin: 0px 0px 0px -2px; border: 1px solid Blue;">
<input name="attr_pEffect2a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect2b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect2c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect2d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect2e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
</div>
<button type='action' name='act_power3-action' style="box-sizing: content-box; width: 18px; heigth: 28px; border: 0px solid black; padding: 4px 1px 1px 4px;" value='@{power3_action}'><label class="sheet-attack-button">j</label></button>
<input name="attr_pName3" type="text" class="sheet-sectionRow" style="width: 122px;"/>
<input name="attr_pType3" type="text" class="sheet-sectionRow" style="width: 96px;"/>
@@ -467,6 +590,8 @@
<input name="attr_pEffect3a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect3b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect3c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect3d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect3e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<button type='action' name='act_power4-action' style="box-sizing: content-box; width: 18px; heigth: 28px; border: 0px solid black; padding: 4px 1px 1px 4px;" value='@{power4_action}'><label class="sheet-attack-button">j</label></button>
<input name="attr_pName4" type="text" class="sheet-sectionRow" style="width: 122px;"/>
@@ -477,6 +602,21 @@
<input name="attr_pEffect4a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect4b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect4c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect4d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect4e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<button type='action' name='act_power5-action' style="box-sizing: content-box; width: 18px; heigth: 28px; border: 0px solid black; padding: 4px 1px 1px 4px;" value='@{power4_action}'><label class="sheet-attack-button">j</label></button>
<input name="attr_pName5" type="text" class="sheet-sectionRow" style="width: 122px;"/>
<input name="attr_pType5" type="text" class="sheet-sectionRow" style="width: 96px;"/>
<input name="attr_pDL5" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pCost5" type="text" class="sheet-sectionRow" style="width: 64px;"/>
<input name="attr_pRange5" type="text" class="sheet-sectionRow" style="width: 86px;"/>
<input name="attr_pEffect5a" type="text" class="sheet-sectionRow" style="width: 324px;"/>
<input name="attr_pEffect5b" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect5c" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect5d" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
<input name="attr_pEffect5e" type="text" class="sheet-sectionRow" style="width: 324px; margin: 0px 0px 0px 474px;"/>
-->
</div>
</div>
@@ -901,7 +1041,7 @@ on("change:coordination_base change:wit_base ", function(eventInfo) {
});
on('clicked:bruteForce-action clicked:intimidate-action clicked:toughness-action clicked:crafting-action clicked:generalKnowledge-action clicked:arcaneKnowledge-action clicked:vehicleHandling-action clicked:reflex-action clicked:finesse-action clicked:stealth-action clicked:contacts-action clicked:trickery-action clicked:survival-action clicked:rangedCombat-action clicked:sharpSenses-action clicked:charisma-action clicked:starHeritage-action clicked:willpower-action', async (eventInfo) => {
on('clicked:bruteForce-action clicked:intimidate-action clicked:toughness-action clicked:crafting-action clicked:generalKnowledge-action clicked:arcaneKnowledge-action clicked:vehicleHandling-action clicked:reflex-action clicked:finesse-action clicked:stealth-action clicked:contacts-action clicked:trickery-action clicked:survival-action clicked:rangedCombat-action clicked:sharpSenses-action clicked:charisma-action clicked:starHeritage-action clicked:willpower-action clicked:athleticism-action', async (eventInfo) => {
console.log(" Clicked ---action");
console.log(" triggerName " + eventInfo.triggerName);
@@ -928,6 +1068,7 @@ on("change:coordination_base change:wit_base ", function(eventInfo) {
case "clicked:charisma-action": Attribute = "charisma"; AttributeName = "Charisma"; AttributeBase = "charismaBase"; break;
case "clicked:starheritage-action": Attribute = "starHeritage"; AttributeName = "Star Heritage"; AttributeBase = "starHeritageBase"; break;
case "clicked:willpower-action": Attribute = "willpower"; AttributeName = "Willpower"; AttributeBase = "willpowerBase"; break;
case "clicked:athleticism-action": Attribute = "athleticismBase"; AttributeName = "Athleticism"; AttributeBase = "athleticismBase"; break;
default:
Attribute = "None";
}
@@ -988,7 +1129,7 @@ on("change:coordination_base change:wit_base ", function(eventInfo) {
on('clicked:melee1-action clicked:melee2-action clicked:range1-action clicked:range2-action clicked:power1-action clicked:power2-action clicked:power3-action clicked:power4-action', async (eventInfo) => {
on('clicked:melee1-action clicked:melee2-action clicked:melee3-action clicked:range1-action clicked:range2-action clicked:power1-action clicked:power2-action clicked:power3-action clicked:power4-action clicked:power5-action', async (eventInfo) => {
console.log(" Clicked Melee|Range|Powers-action");
console.log(" triggerName " + eventInfo.triggerName);
@@ -1003,12 +1144,14 @@ on("change:coordination_base change:wit_base ", function(eventInfo) {
switch (eventInfo.triggerName) {
case "clicked:melee1-action": WeaponName = "@{mWeaponName1}"; Skill = "@{mBFFUc1}"; Bonus = "@{mAccuracy1}"; Damage = "mDamage1"; DLrequest = " {{DL=[[?{Difficulty Level|10}]]}} "; break;
case "clicked:melee2-action": WeaponName = "@{mWeaponName2}"; Skill = "@{mBFFUc2}"; Bonus = "@{mAccuracy2}"; Damage = "mDamage2"; DLrequest = " {{DL=[[?{Difficulty Level|10}]]}} "; break;
case "clicked:melee3-action": WeaponName = "@{mWeaponName3}"; Skill = "@{mBFFUc3}"; Bonus = "@{mAccuracy3}"; Damage = "mDamage3"; DLrequest = " {{DL=[[?{Difficulty Level|10}]]}} "; break;
case "clicked:range1-action": WeaponName = "@{rWeaponName1}"; Skill = "@{rRangedCombat1}"; Bonus = "0" ; Damage = "rDamage1"; DLrequest = " {{DL=[[?{Difficulty Level|10}]]}} "; break;
case "clicked:range2-action": WeaponName = "@{rWeaponName2}"; Skill = "@{rRangedCombat2}"; Bonus = "0" ; Damage = "rDamage2"; DLrequest = " {{DL=[[?{Difficulty Level|10}]]}} "; break;
case "clicked:power1-action": WeaponName = "@{pName1}"; Skill = "@{starHeritage}"; Bonus = "0"; Damage = "starHeritage"; DLrequest = " {{DL=[[@{pDL1}]]}}"; break;
case "clicked:power2-action": WeaponName = "@{pName2}"; Skill = "@{starHeritage}"; Bonus = "0"; Damage = "starHeritage"; DLrequest = " {{DL=[[@{pDL2}]]}}"; break;
case "clicked:power3-action": WeaponName = "@{pName3}"; Skill = "@{starHeritage}"; Bonus = "0"; Damage = "starHeritage"; DLrequest = " {{DL=[[@{pDL3}]]}}"; break;
case "clicked:power4-action": WeaponName = "@{pName4}"; Skill = "@{starHeritage}"; Bonus = "0"; Damage = "starHeritage"; DLrequest = " {{DL=[[@{pDL4}]]}}"; break;
case "clicked:power5-action": WeaponName = "@{pName5}"; Skill = "@{starHeritage}"; Bonus = "0"; Damage = "starHeritage"; DLrequest = " {{DL=[[@{pDL5}]]}}"; break;
default:
WeaponName = "None";
}
+2 -1
View File
@@ -62,7 +62,8 @@
"weaponName-u":"WEAPON NAME",
"type-u":"TYPE",
"attacks-u":"ATTACKS",
"bFFUc-u":"BF/F/UC",
"bFF-u":"BF/F",
"bruteForceOrFinesse-c":"Brute Force or Finesse",
"accuracy-u":"ACCURACY",
"hit-u":"HIT",
"damage-u":"DAMAGE",