Skip to content

Commit

Permalink
Made initiative to be crit on 1 and fail on 10.
Browse files Browse the repository at this point in the history
Added labels for modifiers on spells
  • Loading branch information
DBFBlackbull committed Jan 20, 2024
1 parent e79e5d5 commit cfd6baf
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 106 deletions.
196 changes: 98 additions & 98 deletions ADnD_2E_Revised/2ESheet.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ADnD_2E_Revised/html/shared/priest-spell-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<input class="sheet-short" type="text" name="attr_spell-cast-time" title="@{repeating_spells-#REPLACE0#_$X_spell-cast-time}" placeholder="Cast time"/>
</td>
<td>
<button type="roll" name="roll_spell-init" title="@{repeating_spells-#REPLACE0#_$X_spell-init}" value="/gmroll [[{[[1d10]]+(@{spell-cast-time})-(@{misc-mod}), 1}kh1]] [Initiative (@{spell-name})]&{tracker}">Initiative</button>
<button type="roll" name="roll_spell-init" title="@{repeating_spells-#REPLACE0#_$X_spell-init}" value="/gmroll [[{1d10cs1cf10+(@{spell-cast-time} [Spell])-(@{misc-mod}), {1}}kh1]] [Initiative (@{spell-name})]&{tracker}">Initiative</button>
</td>
<td>
<button type="roll" name="roll_spell-template" title="%{repeating_spells-#REPLACE0#_$X_spell-template}" value="#REPLACE1#&{template:2Espell}{{title=@{spell-name}}}{{splevel=@{spell-level}}}{{school=@{spell-school}}}{{sphere=@{spell-sphere}}}{{components=@{spell-components}}}{{time=@{spell-cast-time}}}{{range=@{spell-range}}}{{duration=@{spell-duration}}}{{aoe=@{spell-aoe}}}{{save=@{spell-saving-throw}}}{{subtlety=@{spell-subtlety}}}{{sensory=@{spell-sensory}}}{{knockdown=@{spell-knockdown}}}{{crit=@{spell-crit-size}}}{{damage=@{spell-damage}}}{{damagetype=@{spell-damage-type}}}{{healing=@{spell-healing}}}{{reference=@{spell-reference}}}{{materials=@{spell-materials}}}{{checkroll=[[1d100]]%}}{{checktarget=#REPLACE2#}}{{fail=The spell is expended with absolutely no effect whatsoever.}}{{effects=@{spell-effect}}}">T</button>
Expand Down
2 changes: 1 addition & 1 deletion ADnD_2E_Revised/html/shared/wizard-spell-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<input class="sheet-short" type="text" name="attr_spell-cast-time" title="@{repeating_spells-#REPLACE0#_$X_spell-cast-time}" placeholder="Cast time"/>
</td>
<td>
<button type="roll" name="roll_spell-init" title="@{repeating_spells-#REPLACE0#_$X_spell-init}" value="/gmroll [[{[[1d10]]+(@{spell-cast-time})-(@{misc-mod}), 1}kh1]] [Initiative (@{spell-name})]&{tracker}">Initiative</button>
<button type="roll" name="roll_spell-init" title="@{repeating_spells-#REPLACE0#_$X_spell-init}" value="/gmroll [[{1d10cs1cf10+(@{spell-cast-time} [Spell])-(@{misc-mod}), {1}}kh1]] [Initiative (@{spell-name})]&{tracker}">Initiative</button>
</td>
<td>
<button type="roll" name="roll_spell-template" title="%{repeating_spells-#REPLACE0#_$X_spell-template}" value="#REPLACE1#&{template:2Espell}{{title=@{spell-name}}}{{splevel=@{spell-level}}}{{school=@{spell-school}}}{{sphere=@{spell-sphere}}}{{components=@{spell-components}}}{{time=@{spell-cast-time}}}{{range=@{spell-range}}}{{duration=@{spell-duration}}}{{aoe=@{spell-aoe}}}{{save=@{spell-saving-throw}}}{{subtlety=@{spell-subtlety}}}{{sensory=@{spell-sensory}}}{{knockdown=@{spell-knockdown}}}{{crit=@{spell-crit-size}}}{{damage=@{spell-damage}}}{{damagetype=@{spell-damage-type}}}{{healing=@{spell-healing}}}{{reference=@{spell-reference}}}{{materials=@{spell-materials}}}{{effects=@{spell-effect}}}">T</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<td><label>Casting Time: </label></td>
<td><input type="text" name="attr_casttime#REPLACE0#" title="@{repeating_spells#REPLACE0#_$X_casttime#REPLACE0#}" class="sheet-short"></td>
<td></td>
<td><button type="roll" style="margin: 0;" name="roll_initspell#REPLACE0#" title="%{repeating_spells#REPLACE0#_$X_initspell#REPLACE0#}" value="/gmroll [[{([[1d10]]+@{casttime#REPLACE0#}-(@{misc-mod})), 1}kh1]] [Initiative (@{spellname#REPLACE0#})]&{tracker}">Initiative</button></td>
<td><button type="roll" style="margin: 0;" name="roll_initspell#REPLACE0#" title="%{repeating_spells#REPLACE0#_$X_initspell#REPLACE0#}" value="/gmroll [[{1d10cs1cf10+(@{casttime#REPLACE0#} [Spell])-(@{misc-mod}), {1}}kh1]] [Initiative (@{spellname#REPLACE0#})]&{tracker}">Initiative</button></td>
</tr>
<tr>
<td colspan="4"><textarea name="attr_cast-macro#REPLACE0#" title="@{repeating_spells#REPLACE0#_$X_cast-macro#REPLACE0#}" class="sheet-input-like" placeholder="Insert Spell effects."></textarea></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<td><label><input type="checkbox" name="attr_weaptype-pierce" title="@{repeating_weapons_$X_weaptype-pierce}" value="1"/><span></span></label></td>
<td><label><input type="checkbox" name="attr_weaptype-blunt" title="@{repeating_weapons_$X_weaptype-blunt}" value="1"/><span></span></label></td>
<td><input type="text" name="attr_weapspeed" title="@{repeating_weapons_$X_weapspeed}" class="sheet-small"></td>
<td><button type="roll" name="roll_init" title="%{repeating_weapons_$X_init}" value="/gmroll [[{1d10+(@{weapspeed} [Weapon])-(@{temp-speedadj} [Temp buff])-(@{misc-mod}), {1}}kh1]] [Initiative (@{weaponname})]&{tracker}">Initiative</button></td>
<td><button type="roll" name="roll_init" title="%{repeating_weapons_$X_init}" value="/gmroll [[{1d10cs1cf10+(@{weapspeed} [Weapon])-(@{temp-speedadj} [Temp buff])-(@{misc-mod}), {1}}kh1]] [Initiative (@{weaponname})]&{tracker}">Initiative</button></td>
</tr>
</table>
</fieldset>
Expand Down Expand Up @@ -315,7 +315,7 @@ <h4>Weapon Notes</h4>
<td><label><input type="checkbox" name="attr_weaptype-pierce2" title="@{repeating_weapons2_$X_weaptype-pierce2}" value="1"/><span></span></label></td>
<td><label><input type="checkbox" name="attr_weaptype-blunt2" title="@{repeating_weapons2_$X_weaptype-blunt2}" value="1"/><span></span></label></td>
<td><input type="text" name="attr_weapspeed2" title="@{repeating_weapons2_$X_weapspeed2}" class="sheet-small"></td>
<td><button type="roll" name="roll_init2" title="%{repeating_weapons2_$X_init2}" value="/gmroll [[{1d10+(@{weapspeed2} [Weapon])-(@{temp-speedadj} [Temp buff])-(@{misc-mod}), {1}}kh1]] [Initiative (@{weaponname2})]&{tracker}">Initiative</button></td>
<td><button type="roll" name="roll_init2" title="%{repeating_weapons2_$X_init2}" value="/gmroll [[{1d10cs1cf10+(@{weapspeed2} [Weapon])-(@{temp-speedadj} [Temp buff])-(@{misc-mod}), {1}}kh1]] [Initiative (@{weaponname2})]&{tracker}">Initiative</button></td>
</tr>
</table>
</fieldset>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
<td><label><input type="checkbox" name="attr_weaptype-pierce" title="@{repeating_weapons_$X_weaptype-pierce}" value="1"/><span></span></label></td>
<td><label><input type="checkbox" name="attr_weaptype-blunt" title="@{repeating_weapons_$X_weaptype-blunt}" value="1"/><span></span></label></td>
<td><input type="text" name="attr_weapspeed" title="@{repeating_weapons_$X_weapspeed}" class="sheet-small"></td>
<td><button type="roll" name="roll_init" title="%{repeating_weapons_$X_init}" value="/gmroll [[{1d10+(@{weapspeed} [Weapon])-(@{temp-speedadj} [Temp buff])-(@{misc-mod}), {1}}kh1]] [Initiative (@{weaponname})]&{tracker}">Initiative</button></td>
<td><button type="roll" name="roll_init" title="%{repeating_weapons_$X_init}" value="/gmroll [[{1d10cs1cf10+(@{weapspeed} [Weapon])-(@{temp-speedadj} [Temp buff])-(@{misc-mod}), {1}}kh1]] [Initiative (@{weaponname})]&{tracker}">Initiative</button></td>
</tr>
</table>
</fieldset>
Expand Down Expand Up @@ -356,7 +356,7 @@ <h4>Weapon Notes</h4>
<td><label><input type="checkbox" name="attr_weaptype-pierce2" title="@{repeating_weapons2_$X_weaptype-pierce2}" value="1"/><span></span></label></td>
<td><label><input type="checkbox" name="attr_weaptype-blunt2" title="@{repeating_weapons2_$X_weaptype-blunt2}" value="1"/><span></span></label></td>
<td><input type="text" name="attr_weapspeed2" title="@{repeating_weapons2_$X_weapspeed2}" class="sheet-small"></td>
<td><button type="roll" name="roll_init2" title="%{repeating_weapons2_$X_init2}" value="/gmroll [[{1d10+(@{weapspeed2} [Weapon])-(@{temp-speedadj} [Temp buff])-(@{misc-mod}), {1}}kh1]] [Initiative (@{weaponname2})]&{tracker}">Initiative</button></td>
<td><button type="roll" name="roll_init2" title="%{repeating_weapons2_$X_init2}" value="/gmroll [[{1d10cs1cf10+(@{weapspeed2} [Weapon])-(@{temp-speedadj} [Temp buff])-(@{misc-mod}), {1}}kh1]] [Initiative (@{weaponname2})]&{tracker}">Initiative</button></td>
</tr>
</table>
</fieldset>
Expand Down
2 changes: 1 addition & 1 deletion ADnD_2E_Revised/pug/spellTemplate.pug
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fieldset(name="repeating_spells-#REPLACE0#" class="repeating_spells-#REPLACE0#")
td
input(type="text" name="attr_spell-cast-time" title="@{repeating_spells-#REPLACE0#_$X_spell-cast-time}" class="sheet-short" placeholder="Cast time")
td
button(type="roll" name="roll_spell-init" title="@{repeating_spells-#REPLACE0#_$X_spell-init}" value!="/gmroll [[{[[1d10]]+(@{spell-cast-time})-(@{misc-mod}), 1}kh1]] [Initiative (@{spell-name})]&{tracker}") Initiative
button(type="roll" name="roll_spell-init" title="@{repeating_spells-#REPLACE0#_$X_spell-init}" value!="/gmroll [[{1d10cs1cf10+(@{spell-cast-time} [Spell])-(@{misc-mod}), {1}}kh1]] [Initiative (@{spell-name})]&{tracker}") Initiative
td
button(type="roll" name="roll_spell-template" title="%{repeating_spells-#REPLACE0#_$X_spell-template}" value!="#REPLACE1#&{template:2Espell}{{title=@{spell-name}}}{{splevel=@{spell-level}}}{{school=@{spell-school}}}{{sphere=@{spell-sphere}}}{{components=@{spell-components}}}{{time=@{spell-cast-time}}}{{range=@{spell-range}}}{{duration=@{spell-duration}}}{{aoe=@{spell-aoe}}}{{save=@{spell-saving-throw}}}{{subtlety=@{spell-subtlety}}}{{sensory=@{spell-sensory}}}{{knockdown=@{spell-knockdown}}}{{crit=@{spell-crit-size}}}{{damage=@{spell-damage}}}{{damagetype=@{spell-damage-type}}}{{healing=@{spell-healing}}}{{reference=@{spell-reference}}}{{materials=@{spell-materials}}}"+failureCheck+"{{effects=@{spell-effect}}}") T
|
Expand Down

0 comments on commit cfd6baf

Please sign in to comment.