Gamma World 1e - fix init roll

This commit is contained in:
Andreas Johansson
2021-10-27 18:09:30 +03:00
parent f01248eaca
commit 1bb69815da
4 changed files with 40 additions and 25 deletions
+11 -1
View File
@@ -1,5 +1,5 @@
/* Gamme World 1e, made from Metamorphosis Alpha: 1e CSS */
/* Version 1.0 */
/* overall wrapper to fix moving width issues with overflow on hidden sections */
.charsheet .sheet-overall-wrapper {
@@ -16,6 +16,16 @@
visibility: hidden;
}
input[type=number].sheet-txtfield::-webkit-inner-spin-button,
input[type=number].sheet-txtfield::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number].sheet-txtfield {
-moz-appearance: textfield;
}
/* TEMPLATES */
.sheet-rolltemplate-MA1e .sheet-RollTemp-wrapper {
/*background:url(http://i.imgur.com/vhOjjFg.png) top center repeat;*/
+17 -17
View File
@@ -15,7 +15,7 @@
<div class="sheet-col-1-8 sheet-center">&nbsp;</div>
<div class="sheet-col-1-8 sheet-center">&nbsp;</div>
<div class="sheet-col-1-8 sheet-center">&nbsp;</div>
<div class="sheet-col-3-8 sheet-center sheet-margin-top"><p class="sheet-last-updated">SHEET LAST UPDATED<br/>04 JAN 2018</p></div>
<div class="sheet-col-3-8 sheet-center sheet-margin-top"><p class="sheet-last-updated">SHEET LAST UPDATED<br/>Oct. 2021</p></div>
</div>
</div>
@@ -69,7 +69,7 @@
<div class="sheet-ACBG">
<div class="sheet-col-1-4 sheet-center">&nbsp;</div>
<div class="sheet-col-1-3 sheet-center"><input class="sheet-AC" type="number" name="attr_acHuman" value="10"/><br/>.</div>
<div class="sheet-col-1-3 sheet-center"><input class="sheet-AC sheet-txtfield" type="number" name="attr_acHuman" value="10"/><br/>.</div>
</div>
</div>
@@ -79,7 +79,7 @@
<div class="sheet-HPmaxBG">
<div class="sheet-col-1-4 sheet-center">&nbsp;</div>
<div class="sheet-col-1-3 sheet-center "><input class="sheet-HPmax" type="text" name="attr_hpMaxHuman" value="0"/><br/>.</div>
<div class="sheet-col-1-3 sheet-center"><input class="sheet-HPmax sheet-txtfield" type="number" name="attr_hpMaxHuman" value="0"/><br/>.</div>
</div>
</div>
@@ -87,7 +87,7 @@
<div class="sheet-HPBG">
<div class="sheet-col-1-4 sheet-center">&nbsp;</div>
<div class="sheet-col-1-3 sheet-center "><input class="sheet-HP" type="text" name="attr_hpHuman" value="0"/><br/>.</div>
<div class="sheet-col-1-3 sheet-center"><input class="sheet-HP sheet-txtfield" type="number" name="attr_hpHuman" value="0"/><br/>.</div>
</div>
</div>
@@ -160,8 +160,8 @@
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center sheet-left sheet-vert-middle" type="number" name="attr_intMod" value="0" title="-1 to Artifact Use for every point above 15 and +1 for every point below 7"/>+/- ARTIFACT USE</div>
<div class="sheet-col-1-23 sheet-center">&nbsp;</div>
<div class="sheet-col-1-7 sheet-center sheet-left sheet-vert-middle">
<button type='roll' class="sheet-initiative sheet-large-button"
value="&{template:MA1e} {{name=@{characterNameHuman}}} {{title=Artifact}} {{flavortext=Artifact Use roll to determine how an Artifact operates.}} {{rolltype=Artifact Roll : }} {{ability=[[ {{1d10 + @{intMod}, {1}}kh1, {10}}kl1 [Die Roll] ]]}}" name='Artifact' title="Artifact">ARTIFACT USE</button>
<button type='roll' class="sheet-initiative sheet-large-button" name="roll_ARTIFACT"
value="&{template:MA1e} {{name=@{characterNameHuman}}} {{title=Artifact}} {{flavortext=Artifact Use roll to determine how an Artifact operates.}} {{rolltype=Artifact Roll : }} {{ability=[[ {{1d10 + @{intMod}, {1}}kh1, {10}}kl1 [Die Roll] ]]}}" title="Artifact %{ARTIFACT}">ARTIFACT USE</button>
</div>
</div>
@@ -173,7 +173,7 @@
<div class="sheet-col-1-23 sheet-center">&nbsp;</div>
<div class="sheet-col-1-7 sheet-center sheet-left sheet-vert-middle">
<button type='roll' class="sheet-initiative sheet-large-button" name="roll_INIT"
value="&{template:MA1e} {{name=@{characterNameHuman}}} {{title=Initiative}} {{INIT=[[ @{selected|dex} [DEX] &{tracker}]]}}" name='Initiative' title="Initiative">INITIATIVE</button>
value="&{template:MA1e} {{name=@{characterNameHuman}}} {{title=Initiative}} {{INIT=[[ 1d6+(@{dex}[DEX]) &{tracker}]]}}" title="Initiative %{INIT}">INITIATIVE</button>
</div>
</div>
@@ -719,7 +719,7 @@
<div class="sheet-ACBG">
<div class="sheet-col-1-4 sheet-center">&nbsp;</div>
<div class="sheet-col-1-3 sheet-center"><input class="sheet-AC" type="number" name="attr_acMutant" value="10"/><br/>.</div>
<div class="sheet-col-1-3 sheet-center"><input class="sheet-AC sheet-txtfield" type="number" name="attr_acMutant" value="10"/><br/>.</div>
</div>
</div>
@@ -729,7 +729,7 @@
<div class="sheet-HPmaxBG">
<div class="sheet-col-1-4 sheet-center">&nbsp;</div>
<div class="sheet-col-1-3 sheet-center "><input class="sheet-HPmax" type="text" name="attr_hpMaxMutant" value="0"/><br/>.</div>
<div class="sheet-col-1-3 sheet-center"><input class="sheet-HPmax sheet-txtfield" type="number" name="attr_hpMaxMutant" value="0"/><br/>.</div>
</div>
</div>
@@ -737,7 +737,7 @@
<div class="sheet-HPBG">
<div class="sheet-col-1-4 sheet-center">&nbsp;</div>
<div class="sheet-col-1-3 sheet-center "><input class="sheet-HP" type="text" name="attr_hpMutant" value="0"/><br/>.</div>
<div class="sheet-col-1-3 sheet-center"><input class="sheet-HP sheet-txtfield" type="number" name="attr_hpMutant" value="0"/><br/>.</div>
</div>
</div>
@@ -810,8 +810,8 @@
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center sheet-left sheet-vert-middle" type="number" name="attr_intMod" value="0" title="-1 to Artifact Use for every point above 15 and +1 for every point below 7"/>+/- ARTIFACT USE</div>
<div class="sheet-col-1-23 sheet-center">&nbsp;</div>
<div class="sheet-col-1-7 sheet-center sheet-left sheet-vert-middle">
<button type='roll' class="sheet-initiative sheet-large-button"
value="&{template:MA1e} {{name=@{characterNameMutant}}} {{title=Artifact}} {{flavortext=Artifact Use roll to determine how an Artifact operates.}} {{rolltype=Artifact Roll : }} {{ability=[[ {{1d10 + @{intMod}, {1}}kh1, {10}}kl1 [Die Roll] ]]}}" name='Artifact' title="Artifact">ARTIFACT USE</button>
<button type='roll' class="sheet-initiative sheet-large-button" name="roll_ARTIFACT-mutant"
value="&{template:MA1e} {{name=@{characterNameMutant}}} {{title=Artifact}} {{flavortext=Artifact Use roll to determine how an Artifact operates.}} {{rolltype=Artifact Roll : }} {{ability=[[ {{1d10 + @{intMod}, {1}}kh1, {10}}kl1 [Die Roll] ]]}}" title="Artifact %{ARTIFACT-mutant}">ARTIFACT USE</button>
</div>
</div>
@@ -822,8 +822,8 @@
<div class="sheet-col-1-8 sheet-small-label sheet-center"><input class="sheet-underlined sheet-center sheet-left sheet-vert-middle" type="number" name="attr_dexMod" value="0" title="+1 to Hit for every point above 15 and -1 for every point below 6"/>+/- TO HIT BONUS</div>
<div class="sheet-col-1-23 sheet-center">&nbsp;</div>
<div class="sheet-col-1-7 sheet-center sheet-left sheet-vert-middle">
<button type='roll' class="sheet-initiative sheet-large-button" name="roll_INIT"
value="&{template:MA1e} {{name=@{characterNameMutant}}} {{title=Initiative}} {{INIT=[[ @{selected|dex} [DEX] &{tracker}]]}}" name='Initiative' title="Initiative">INITIATIVE</button>
<button type='roll' class="sheet-initiative sheet-large-button" name="roll_INIT-mutant"
value="&{template:MA1e} {{name=@{characterNameMutant}}} {{title=Initiative}} {{INIT=[[ 1d6+(@{dex}[DEX]) &{tracker}]]}}" title="Initiative %{INIT-mutant}">INITIATIVE</button>
</div>
</div>
@@ -1562,7 +1562,7 @@
<div class="sheet-ACBG">
<div class="sheet-col-1-5 sheet-center">&nbsp;</div>
<div class="sheet-col-1-5 sheet-center"><input class="sheet-AC" type="number" name="attr_acMonster" value="10"/><br/>.</div>
<div class="sheet-col-1-5 sheet-center"><input class="sheet-AC sheet-txtfield" type="number" name="attr_acMonster" value="10"/><br/>.</div>
</div>
</div>
@@ -1572,7 +1572,7 @@
<div class="sheet-HPmaxBG">
<div class="sheet-col-1-5 sheet-center">&nbsp;</div>
<div class="sheet-col-1-5 sheet-center "><input class="sheet-HPmax" type="text" name="attr_hpMaxMonster" value="0"/><br/>.</div>
<div class="sheet-col-1-5 sheet-center"><input class="sheet-HPmax sheet-txtfield" type="number" name="attr_hpMaxMonster" value="0"/><br/>.</div>
</div>
</div>
@@ -1580,7 +1580,7 @@
<div class="sheet-HPBG">
<div class="sheet-col-2-9 sheet-center">&nbsp;</div>
<div class="sheet-col-1-6 sheet-center "><input class="sheet-HP" type="text" name="attr_hpMonster" value="0"/><br/>.</div>
<div class="sheet-col-1-6 sheet-center"><input class="sheet-HP sheet-txtfield" type="number" name="attr_hpMonster" value="0"/><br/>.</div>
</div>
</div>
@@ -2,11 +2,19 @@
This is a character sheet for the 1st Edition of Gamma World. It features 3 separate tabs for Humans, Mutants, and Monsters.
## Current Version
1.01
### Changelog
#### 1.02 (Oct. 2021)
* Roll updates
* Update initiative roll to be `1d6+@{dex}`, (from previous `@{selected|dex}`). Init rolls now work without selecting token.
* Init rolls can be called with `%{selected|INIT}`/`%{selected|INIT-mutant}`
* artifact rolls can be called with `%{selected|ARTIFACT}`/`%{selected|ARTIFACT-mutant}`
* Armor Class input looks better
#### 1.01 (2018)
* Incorporated changes to Human and Mutant sheet to include "Artifact Use" roll button and calculation, with roll 1d10 modified by Artiface Use bonus (intMod) (-1 to Artifact Use for every Intelligence point above 15 and +1 for every point below 7), and limited to range 1 to 10, with negative numbers returned as 1 and numbers larger than 10 returned as 10 per this equation: [[ {{1d10 + @{intMod}, {1}}kh1, {10}}kl1 [Die Roll] ]].
#### 1.0
* Sheet creation per Character Sheet Request Thread.
* Incorporated updates to Attributes, including Intelligence modifier for artifact use, Dexterity To Hit modifier, and Charisma Table for Followers, morale and reaction adjustment.
@@ -16,9 +24,6 @@ This is a character sheet for the 1st Edition of Gamma World. It features 3 sep
* Incorporated updates to weapons used table, including Small, Man-Sized and Large opponents damage dice.
* Incorporated changes to Monster sheet, including modifications to the mutant generation section.
#### 1.01
* Incorporated changes to Human and Mutant sheet to include "Artifact Use" roll button and calculation, with roll 1d10 modified by Artiface Use bonus (intMod) (-1 to Artifact Use for every Intelligence point above 15 and +1 for every point below 7), and limited to range 1 to 10, with negative numbers returned as 1 and numbers larger than 10 returned as 10 per this equation: [[ {{1d10 + @{intMod}, {1}}kh1, {10}}kl1 [Die Roll] ]].
### Credit Where Credit is Due
### Credits
The CSS of this sheet is from the Metamorphosis Alpha 1e character sheet.
+1 -1
View File
@@ -4,6 +4,6 @@
"authors": "MattBx8",
"roll20userid": "115594",
"preview": "GammaWorld1e_Human.jpg",
"instructions": "# Gamma World 1e Character Sheet\rThis sheet has both a Human and Mutant sheet and a Monster Sheet for the Judge that is switchable via a tab at the top left of the sheet.\r\r## Player Sheets\r\r* All of the roll buttons (shown as a d20 dice) have roll templates.\r* Attack rolls show the AC hit\r\r## Monster Sheet\r\r* All of the roll buttons have roll templates and many of them go to the GM\r* In sheet ability to create non-player creature mutations \r\r## Modified from Metamorphosis Alpha 1e character sheet by Amanda the Amazon.\r\r\r## Current Version: 1.0",
"instructions": "## Gamma World 1e Character Sheet\r**Current Version:** 1.02\r**[Changelog](https://github.com/Roll20/roll20-character-sheets/blob/master/GammaWorld1e/Readme.md)**\rThis sheet has both a Human and Mutant sheet, and a Monster Sheet for the Judge that is switchable via a tab at the top left of the sheet.\r\r### Player Sheets\r\r* All of the roll buttons (shown as a d20 dice) have roll templates.\r* Attack rolls show the AC hit\r\r### Monster Sheet\r\r* All of the roll buttons have roll templates and many of them go to the GM\r* In-sheet ability to create non-player creature mutations",
"legacy": true
}