Merge pull request #2837 from amandasearle/DCC_Tabbed_Sheet

[Dcc tabbed sheet] Fixed bug where Core to hit bonus' wasn't showing up
This commit is contained in:
wing-it
2017-07-31 10:55:01 -04:00
committed by GitHub
3 changed files with 17 additions and 12 deletions
+12 -10
View File
@@ -1,5 +1,5 @@
<!-- Dungeon Crawl Classics: Tabbed Character Sheet -->
<!-- Version 1.1 -->
<!-- Version 1.2 -->
<div class="sheet-overall-wrapper">
@@ -16,7 +16,7 @@
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" placeholder="Character Name" name="attr_character_name"><br/>Character Name</div>
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center" type="text" placeholder="Race" name="attr_race"><br/>Race</div>
<div class="sheet-col-1-8 sheet-center">&nbsp;</div>
<div class="sheet-col-1-8 sheet-center sheet-margin-top"><p class="sheet-last-updated">Sheet last updated<br/>13 July 2017</p></div>
<div class="sheet-col-1-8 sheet-center sheet-margin-top"><p class="sheet-last-updated">Sheet last updated<br/>25 July 2017</p></div>
</div>
</div>
@@ -4815,7 +4815,7 @@
<div class="sheet-col-1-12" title="Your critical threat range goes up, if your dice on the dice chain goes up.">
<select name="attr_meleeCritThreat">
<option value="d30">30</option>
<option value="30">30</option>
<option value="29">29-30</option>
<option value="28">28-30</option>
<option value="27">27-30</option>
@@ -4831,7 +4831,7 @@
</div>
<div class="sheet-col-1-12" title="The magic bonus will be added as a bonus to BOTH the attack and damage rolls"><input type="number" name="attr_meleeMagic" value="0" step="1"></div>
<div class="sheet-col-1-11"><input class=" sheet-center" type="number" name="attr_meleeToHit" value="[[[[@{strMod}]] + @{meleeMagic} + @{allAtkLuckyRoll} + @{meleeAtkLuckyRoll} + @{ATK} + @{meleeAtkLuckyWeapon} + @{meleeAtkBackstabWeapon} + @{zeroWeaponLuckyRoll}]]" disabled="disabled"></div>
<div class="sheet-col-1-11"><input class=" sheet-center" type="number" name="attr_meleeToHit" value="[[[[@{strMod}]] + @{meleeMagic} + @{allAtkLuckyRoll} + @{meleeAtkLuckyRoll} + @{ATK} + @{meleeAtkLuckyWeapon} + @{zeroWeaponLuckyRoll}]]" disabled="disabled"></div>
<div class="sheet-col-1-11" title="Only enter the base damage roll here without any bonuses from stats or other sources"><input class="sheet-center" value="0" type="text" name="attr_meleeDmg"></div>
<div class="sheet-col-1-12"><input class="sheet-center" type="number" name="attr_meleeDmgBonus" value="[[[[@{strMod}]] + @{meleeMagic} + @{meleedmgLuckyRoll} + @{dmgLuckyRoll} + @{zeroWeaponLuckyRoll}]]" disabled="disabled"></div>
@@ -4844,6 +4844,7 @@
<button type='roll' class="sheet-roll" title="Melee Weapon Backstab"
value="&{template:DccTabbed} {{background=[[0]]}} {{combat=1}} {{name=@{character_name}}} {{title=Backstab with @{meleeWeaponName}}} {{flavortext=You attack the enemy from behind or when they are unaware. If the attack hits, it is a critical hit.}} {{backstab=[[ @{meleeAttackDice} [To Hit Roll] + @{meleeToHit} [To Hit Bonus] + @{ThiefBackstabCheck} [Backstab Bonus] + (?{Any Attack Bonus|0}) [Attack Bonus] ]] }} {{damage=[[ @{meleeDmg} [Base damage] + @{meleeDmgBonus} [Damage Bonus] ]]}} {{crit=[[ @{CritDie} + [[@{luckMod}]] + @{critLuckyRoll} ]]}} {{crittable=@{CritDie_max}}} {{fumble=[[ @{armorFumbleDie} + [[@{fumbleCheck}]] + [[@{fumbleLuckyRoll}]] ]]}}" >Melee Backstab</button>
</div>
<div class="sheet-col-1-1 sheet-center">&nbsp;</div>
</div>
</fieldset>
@@ -4904,7 +4905,7 @@
</div>
<div class="sheet-col-1-13" title="Your critical threat range goes up, if your dice on the dice chain goes up.">
<select name="attr_rangedCritThreat">
<option value="d30">30</option>
<option value="30">30</option>
<option value="29">29-30</option>
<option value="28">28-30</option>
<option value="27">27-30</option>
@@ -4938,7 +4939,7 @@
<button type='roll' class="sheet-roll" title="Ranged Weapon Backstab"
value="&{template:DccTabbed} {{background=[[0]]}} {{combat=1}} {{name=@{character_name} }} {{title=Backstab with @{rangedWeaponName} \n @{rangedDistanceShort} / @{rangedDistanceMed} / @{rangedDistanceLong} }} {{range=@{attackRange} }} {{type=@{rangedWeaponType} }} {{rangedbackstab=[[ @{rangedAttackDice} [To Hit Roll] + @{rangedToHit} [To Hit Bonus] + (?{Any Attack Bonus|0}) [Attack Bonus] - @{mediumRangePenalty} [Medium Range Penalty] ]] }} {{damage=[[ @{rangedDmg} [Base damage] + @{rangedDmgBonus} [Damage Bonus] + @{thrownShortRangeBonus} [Short Range Thrown Weapon STR Mod] ]] }} {{crit=[[ @{CritDie}[Dice Roll] + [[@{luckMod}]][Current Luck] + @{critLuckyRoll}[Crit Lucky Roll] ]] }} {{crittable=@{CritDie_max} }} {{fumble=[[ @{armorFumbleDie} + [[@{fumbleCheck}]] + [[@{fumbleLuckyRoll}]] ]] }}">Ranged Backstab</button>
</div>
<div class="sheet-col-1-6 sheet-center">&nbsp;</div>
<div class="sheet-col-1-1 sheet-center">&nbsp;</div>
</div>
</fieldset>
@@ -7773,6 +7774,7 @@
<button type='roll' class="sheet-roll" title="Melee Weapon Attack Zero"
value="&{template:DccTabbed} {{background=[[0]]}} {{combat=1}} {{name=@{character_name}}} {{title=@{meleeWeaponNameZero}}} {{attack=[[ @{meleeAttackDiceZero}cs>@{meleeCritThreatZero} [To Hit Roll] + @{meleeToHitZero} [To Hit Bonus] + (?{Any Attack Bonus|0}) [Attack Bonus] ]] }} {{damage=[[ @{meleeDmgZero} [Base damage] + @{meleeDmgBonusZero} [Damage Bonus] ]]}} {{crit=[[ @{CritDie} + [[@{luckMod}]] + @{critLuckyRoll} ]]}} {{crittable=@{critDieMaxZero}}} {{fumble=[[ @{armorFumbleDie} + [[@{fumbleCheck}]] + [[@{fumbleLuckyRoll}]] ]]}}" >Melee Attack</button>
</div>
<div class="sheet-col-1-1 sheet-center">&nbsp;</div>
</div>
</fieldset>
@@ -7831,7 +7833,7 @@
</div>
<div class="sheet-col-1-13" title="Your critical threat range goes up, if your dice on the dice chain goes up.">
<select name="attr_rangedCritThreatZero">
<option value="d30">30</option>
<option value="30">30</option>
<option value="24">24</option>
<option value="20" selected="selected">20</option>
</select>
@@ -7852,7 +7854,7 @@
<button type='roll' class="sheet-roll" title="Ranged Weapon"
value="&{template:DccTabbed} {{background=[[0]]}} {{combat=1}} {{name=@{character_name} }} {{title=@{rangedWeaponNameZero} \n @{rangedDistanceShortZero} / @{rangedDistanceMedZero} / @{rangedDistanceLongZero} }} {{range=@{attackRangeZero} }} {{rangedtype=Ranged Type}} {{type=@{rangedWeaponTypeZero} }} {{rangedattack=[[ @{rangedAttackDiceZero}cs>@{rangedCritThreatZero} [To Hit Roll] + @{rangedToHitZero} [To Hit Bonus] + (?{Any Attack Bonus|0}) [Attack Bonus] - @{mediumRangePenaltyZero} [Medium Range Penalty] ]] }} {{damage=[[ @{rangedDmgZero} [Base damage] + @{rangedDmgBonusZero} [Damage Bonus] + @{thrownShortRangeBonusZero} [Short Range Thrown Weapon STR Mod] ]] }} {{crit=[[ @{CritDie}[Dice Roll] + [[@{luckMod}]][Current Luck] + @{critLuckyRoll}[Crit Lucky Roll] ]] }} {{crittable=@{critDieMaxZero} }} {{fumble=[[ @{armorFumbleDie} + [[@{fumbleCheck}]] + [[@{fumbleLuckyRoll}]] ]] }}">Ranged Attack</button>
</div>
<div class="sheet-col-1-6 sheet-center">&nbsp;</div>
<div class="sheet-col-1-1 sheet-center">&nbsp;</div>
</div>
</fieldset>
@@ -8357,7 +8359,7 @@
</div>
<div class="sheet-col-1-12" title="Your critical threat range goes up, if your dice on the dice chain goes up.">
<select name="attr_monsterMeleeThreat">
<option value="d30">30</option>
<option value="30">30</option>
<option value="29">29-30</option>
<option value="28">28-30</option>
<option value="27">27-30</option>
@@ -8431,7 +8433,7 @@
</div>
<div class="sheet-col-1-13" title="Your critical threat range goes up, if your dice on the dice chain goes up.">
<select name="attr_monsterRangedThreat">
<option value="d30">30</option>
<option value="30">30</option>
<option value="29">29-30</option>
<option value="28">28-30</option>
<option value="27">27-30</option>
+4 -1
View File
@@ -3,10 +3,13 @@
This is a DCC sheet that uses tabs and Roll Templates. It also includes a 0-level sheet, and a Monster sheet. It is the same style sheet as the Mutant Crawl Classics (MCC) sheet.
## Current Version
1.1
1.2
### Changelog
#### 1.2
* Fixed bug where Core to hit bonus' wasn't showing up due to an old variable still being present
#### 1.1
* Fixed bug where 0-level to hit and damage bonus' weren't showing up due to a misnamed variable
+1 -1
View File
@@ -4,5 +4,5 @@
"authors": "Amanda the Amazon",
"roll20userid": "565956",
"preview": "DCC_Tabbed_Sheet.png",
"instructions": "# Dungeon Crawl Classics (DCC) Tabbed Character Sheet\r This sheet has a pared down 0-level Player sheet, a Level 1+ Player sheet and a Monster Sheet for the GM that are switchable via a tab at the top left of the sheet.\r* If you are currently using the original DCC sheet, it is recommended to make a copy of the campaign before switching to the new sheet. The same variables were used whenever possible, but repeating sections data will not transfer at this time (I hope to add this feature).\r\r## Player Sheets\r\r* Most rolls should have Roll Templates.\r* Includes Core, Crawl and Crawling Under a Broken Moon classes. Will eventually include a custom class area.\r* For Thieves, you can use the old Beta % based rolls (per Claytonian JP's request)\r* Lucky rolls are included within rolls automatically whenever possible.\r* Roll Template Backgrounds based on the kind of rolls you are making.\r* Criticals and Fumbles are rolled automatically based on the d20 roll.\r\r## Monster Sheet\r\r* Monster Rolls have Roll Templates.\r* Certain rolls only go to GM\r* Melee and Ranged Attacks include Special attack ability\r* Criticals and Fumbles are rolled automatically based on the d20 roll.\r\r\r## Current Version: 1.1"
"instructions": "# Dungeon Crawl Classics (DCC) Tabbed Character Sheet\r This sheet has a pared down 0-level Player sheet, a Level 1+ Player sheet and a Monster Sheet for the GM that are switchable via a tab at the top left of the sheet.\r* If you are currently using the original DCC sheet, it is recommended to make a copy of the campaign before switching to the new sheet. The same variables were used whenever possible, but repeating sections data will not transfer at this time (I hope to add this feature).\r\r## Player Sheets\r\r* Most rolls should have Roll Templates.\r* Includes Core, Crawl and Crawling Under a Broken Moon classes. Will eventually include a custom class area.\r* For Thieves, you can use the old Beta % based rolls (per Claytonian JP's request)\r* Lucky rolls are included within rolls automatically whenever possible.\r* Roll Template Backgrounds based on the kind of rolls you are making.\r* Criticals and Fumbles are rolled automatically based on the d20 roll.\r\r## Monster Sheet\r\r* Monster Rolls have Roll Templates.\r* Certain rolls only go to GM\r* Melee and Ranged Attacks include Special attack ability\r* Criticals and Fumbles are rolled automatically based on the d20 roll.\r\r\r## Current Version: 1.2"
}