update gurps
New option to show/hide casting details on roll results table.
This commit is contained in:
+83
-77
@@ -51,8 +51,10 @@
|
||||
<span data-i18n="sheet-penalty-per-spell-on-desc">Enter a negative integer for the penalty.</span>
|
||||
<span data-i18n="sheet-penalty-per-spell-maintained">Penalty for each spell MAINTAINED</span>
|
||||
<span data-i18n="sheet-penalty-per-spell-maintained-desc">Enter a negative integer for the penalty.</span>
|
||||
<span data-i18n="sheet-show-casting-details">Show casting details on roll template:</span>
|
||||
<span data-i18n="sheet-show-casting-details-desc">If checked, detailed notes like casting time, duration, cost, maintain, resisted by, and class will be shown on the roll results template.</span>
|
||||
<span data-i18n="sheet-fragmentation-recoil">Fragmentation Recoil</span>
|
||||
<span data-i18n="sheet-penalty-per-spell-maintained-desc">Recoil for Fragmentation Damage.</span>
|
||||
<span data-i18n="sheet-fragmentation-recoil-desc">Recoil for Fragmentation Damage.</span>
|
||||
<span data-i18n="sheet-point-summary-layout-option">Point Summary Layout</span>
|
||||
<span data-i18n="sheet-point-summary-layout-option-desc">Select option on how to display the Point Summary Table.</span>
|
||||
<span data-i18n="sheet-show-old-techniques">Show Original Techniques Table</span>
|
||||
@@ -4272,6 +4274,7 @@
|
||||
<li>Current Move Bug. Fix issue where current move wasn't updated when inventory total changes. Reported by Adam .</li>
|
||||
<li>Combat Tab > Defense Sub-tab > Roll Modifier Tool. Add Defense Bonus modifier.</li>
|
||||
<li>Bugfix: Roll template Pastelle Pink not showing correctly for rolls and dex rolls. Reported by Ian.</li>
|
||||
<li>New Sheet and Campaign Option: <b>Show casting details on roll template</b>. If checked, detailed notes like casting time, duration, cost, maintain, resisted by, and class will be shown on the roll results template.</li>
|
||||
</ul>
|
||||
|
||||
<label class="check"><input type="checkbox" name="attr_announcements_hide" value="1"> <b><span data-i18n="hide-until-next-update">Hide until next update</span></b></label>
|
||||
@@ -12359,7 +12362,7 @@ visualize what it will look like in chat.
|
||||
<input type="text" name="attr_name" title="Macro table name: repeating_spells. Field name: name" />
|
||||
</div>
|
||||
<div class="cell col1">
|
||||
<button type="roll" value="@{roll}&{template:skillRoll} {{sheetStyle=@{sheetstyle}}} {{type=Spell Skill Roll}} {{activeDefense=[[0]]}} {{isSkillRoll=[[1]]}} {{showSuccessLabel=[[1]]}} {{characterName=@{character_name}}} {{skillName=@{name}}} {{rollResult=[[3d6]]}} {{effectiveSkill=[[{@{level} + @{modifier} + @{spell_roll_modifier}, @{spell_roll_max_nine_value} }kl1]]}} {{useModToll=[[@{use_spell_modifier_tool}]]}} {{maxNine=[[@{spell_roll_max_nine}]]}} {{rollModifier=[[@{spell_roll_modifier}]]}} {{rollModifierSummary=@{spell_roll_modifier_summary}}} {{rollTraitSummary=@{spell_roll_trait_summary}}} {{notes=@{notes}}} {{showNotes=[[@{show_notes}]]}} {{castingTime=@{casttime}}} {{castingDuration=@{duration}}} {{castingCost=@{cost}}} {{castingMaintain=@{maintain}}} {{castingResist=@{spell_resisted_by}}} {{castingClass=@{spell_class}}} {{bookReference=@{ref}}} {{useCriticalPlusTen=[[@{use_critical_plus_10}]]}} {{customSuccessNote=@{spell_success_note}}} {{customCriticalSuccessNote=@{spell_critical_success_note}}} {{customFailNote=@{spell_fail_note}}} {{customCriticalFailNote=@{spell_critical_fail_note}}} {{spellRoll=true}} {{spellCriticalSuccessNote=@{spell_critical_success_notes}}} {{spellFailNote=@{spell_fail_notes}}} {{spellCriticalFailureNote=@{spell_critical_failure_notes}}} {{showSpellNotes=[[@{show_spell_notes}]]}} {{spellNotes=@{spell_notes}}}" name="roll_vsSL" />
|
||||
<button type="roll" value="@{roll}&{template:skillRoll} {{sheetStyle=@{sheetstyle}}} {{type=Spell Skill Roll}} {{activeDefense=[[0]]}} {{isSkillRoll=[[1]]}} {{showSuccessLabel=[[1]]}} {{characterName=@{character_name}}} {{skillName=@{name}}} {{rollResult=[[3d6]]}} {{effectiveSkill=[[{@{level} + @{modifier} + @{spell_roll_modifier}, @{spell_roll_max_nine_value} }kl1]]}} {{useModToll=[[@{use_spell_modifier_tool}]]}} {{maxNine=[[@{spell_roll_max_nine}]]}} {{rollModifier=[[@{spell_roll_modifier}]]}} {{rollModifierSummary=@{spell_roll_modifier_summary}}} {{rollTraitSummary=@{spell_roll_trait_summary}}} {{notes=@{notes}}} {{showNotes=[[@{show_notes}]]}} {{castingTime=@{casttime}}} {{castingDuration=@{duration}}} {{castingCost=@{cost}}} {{castingMaintain=@{maintain}}} {{castingResist=@{spell_resisted_by}}} {{castingClass=@{spell_class}}} {{bookReference=@{ref}}} {{useCriticalPlusTen=[[@{use_critical_plus_10}]]}} {{customSuccessNote=@{spell_success_note}}} {{customCriticalSuccessNote=@{spell_critical_success_note}}} {{customFailNote=@{spell_fail_note}}} {{customCriticalFailNote=@{spell_critical_fail_note}}} {{spellRoll=true}} {{spellCriticalSuccessNote=@{spell_critical_success_notes}}} {{spellFailNote=@{spell_fail_notes}}} {{spellCriticalFailureNote=@{spell_critical_failure_notes}}} {{showCastingDetails=[[@{show_casting_details}]]}} {{showSpellNotes=[[@{show_spell_notes}]]}} {{spellNotes=@{spell_notes}}}" name="roll_vsSL" />
|
||||
</div>
|
||||
<div class="cell col2">
|
||||
<input type="hidden" name="attr_level_mirror" value="0" />
|
||||
@@ -12608,6 +12611,7 @@ visualize what it will look like in chat.
|
||||
<li>Current Move Bug. Fix issue where current move wasn't updated when inventory total changes. Reported by Adam .</li>
|
||||
<li>Combat Tab > Defense Sub-tab > Roll Modifier Tool. Add Defense Bonus modifier.</li>
|
||||
<li>Bugfix: Roll template Pastelle Pink not showing correctly for rolls and dex rolls. Reported by Ian.</li>
|
||||
<li>New Sheet and Campaign Option: <b>Show casting details on roll template</b>. If checked, detailed notes like casting time, duration, cost, maintain, resisted by, and class will be shown on the roll results template.</li>
|
||||
</ul>
|
||||
|
||||
<h4>Version: 2.5.1</h4>
|
||||
@@ -13071,6 +13075,14 @@ visualize what it will look like in chat.
|
||||
<input type="number" step="1" value="-3" name="attr_penalty_per_spell_maintained"></input>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Show casting details on roll template:
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" name="attr_show_casting_details" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</span>
|
||||
|
||||
@@ -14274,7 +14286,7 @@ See notes for weapon.</textarea>
|
||||
<!-- NOTE: Need to replicate the complicated success/fail checks to display spell notes. -->
|
||||
{{#rollResult}}
|
||||
{{#spellRoll}}
|
||||
<tr>
|
||||
<tr class="rollResult">
|
||||
<td colspan="2">
|
||||
<!-- WARNING THIS IS GOING TO GET UGLY AND HARD TO FOLLOW -->
|
||||
|
||||
@@ -14491,7 +14503,7 @@ See notes for weapon.</textarea>
|
||||
{{#useMalfunction}}
|
||||
{{#rollGreater() malfunction 0}}
|
||||
{{#rollBetween() rollResult malfunction 18}}
|
||||
<tr>
|
||||
<tr class="malfunction">
|
||||
<td colspan="2">
|
||||
<span style="color: red; font-weight:bold;">
|
||||
<span data-i18n="rolltemplate-malfunction-label">Malfunction!</span>
|
||||
@@ -14541,7 +14553,7 @@ See notes for weapon.</textarea>
|
||||
|
||||
{{#rollTotal() useDamageTypeNotes 1}}
|
||||
{{#damageTypeNote}}
|
||||
<tr>
|
||||
<tr class="damageTypeNote">
|
||||
<td colspan="2"><span>{{damageTypeNote}}</span></td>
|
||||
</tr>
|
||||
{{/damageTypeNote}}
|
||||
@@ -14549,84 +14561,78 @@ See notes for weapon.</textarea>
|
||||
|
||||
{{#rollTotal() showNotes 1}}
|
||||
{{#notes}}
|
||||
<tr>
|
||||
<tr class="notes">
|
||||
<td colspan="2">{{notes}}</td>
|
||||
</tr>
|
||||
{{/notes}}
|
||||
{{/rollTotal() showNotes 1}}
|
||||
|
||||
{{#showSpellNotes}}
|
||||
{{#spellNotes}}
|
||||
<tr>
|
||||
<td class="label">Mods:</td>
|
||||
<td>
|
||||
{{spellNotes}}
|
||||
</td>
|
||||
</tr>
|
||||
{{/spellNotes}}
|
||||
{{/showSpellNotes}}
|
||||
|
||||
{{#rollTotal() defenseType 2}}
|
||||
{{#notes}}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<span name="attr_defensive_parry_notes"></span>
|
||||
</td>
|
||||
</tr>
|
||||
{{/notes}}
|
||||
{{/rollTotal() defenseType 2}}
|
||||
|
||||
{{#castingTime}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="time-label">Time</span>:
|
||||
</td>
|
||||
<td>{{castingTime}}</td>
|
||||
</tr>
|
||||
{{/castingTime}}
|
||||
|
||||
{{#castingDuration}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="duration-label">Duration</span>:
|
||||
</td>
|
||||
<td>{{castingDuration}}</td>
|
||||
</tr>
|
||||
{{/castingDuration}}
|
||||
|
||||
{{#castingCost}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="cost-label">Cost</span>:
|
||||
</td>
|
||||
<td>{{castingCost}}</td>
|
||||
</tr>
|
||||
{{/castingCost}}
|
||||
|
||||
{{#castingMaintain}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="maintain-label">Maintain</span>:
|
||||
</td>
|
||||
<td>{{castingMaintain}}</td>
|
||||
</tr>
|
||||
{{/castingMaintain}}
|
||||
|
||||
{{#castingResist}}
|
||||
<tr>
|
||||
<td class="label"><span data-i18n="resisted-by-label">Resisted by</span>:</td>
|
||||
<td>{{castingResist}}</td>
|
||||
</tr>
|
||||
{{/castingResist}}
|
||||
{{#rollTotal() showCastingDetails 1}}
|
||||
|
||||
{{#rollTotal() showSpellNotes 1}}
|
||||
{{#spellNotes}}
|
||||
<tr>
|
||||
<td class="label">Mods:</td>
|
||||
<td>
|
||||
{{spellNotes}}
|
||||
</td>
|
||||
</tr>
|
||||
{{/spellNotes}}
|
||||
{{/rollTotal() showSpellNotes 1}}
|
||||
|
||||
{{#castingTime}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="time-label">Time</span>:
|
||||
</td>
|
||||
<td>{{castingTime}}</td>
|
||||
</tr>
|
||||
{{/castingTime}}
|
||||
|
||||
{{#castingDuration}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="duration-label">Duration</span>:
|
||||
</td>
|
||||
<td>{{castingDuration}}</td>
|
||||
</tr>
|
||||
{{/castingDuration}}
|
||||
|
||||
{{#castingCost}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="cost-label">Cost</span>:
|
||||
</td>
|
||||
<td>{{castingCost}}</td>
|
||||
</tr>
|
||||
{{/castingCost}}
|
||||
|
||||
{{#castingMaintain}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="maintain-label">Maintain</span>:
|
||||
</td>
|
||||
<td>{{castingMaintain}}</td>
|
||||
</tr>
|
||||
{{/castingMaintain}}
|
||||
|
||||
{{#castingResist}}
|
||||
<tr>
|
||||
<td class="label"><span data-i18n="resisted-by-label">Resisted by</span>:</td>
|
||||
<td>{{castingResist}}</td>
|
||||
</tr>
|
||||
{{/castingResist}}
|
||||
|
||||
{{#castingClass}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="class-label">Class</span>:
|
||||
</td>
|
||||
<td>{{castingClass}}</td>
|
||||
</tr>
|
||||
{{/castingClass}}
|
||||
{{/rollTotal() showCastingDetails 1}}
|
||||
|
||||
{{#castingClass}}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span data-i18n="class-label">Class</span>:
|
||||
</td>
|
||||
<td>{{castingClass}}</td>
|
||||
</tr>
|
||||
{{/castingClass}}
|
||||
|
||||
{{#recoil}}
|
||||
<tr>
|
||||
|
||||
@@ -186,6 +186,16 @@
|
||||
"description": "Enter a negative integer for the penalty.",
|
||||
"descriptiontranslationkey": "sheet-penalty-per-spell-maintained-desc"
|
||||
},
|
||||
{
|
||||
"attribute": "show_casting_details",
|
||||
"displayname": "Show casting details on roll template:",
|
||||
"displaytranslationkey": "sheet-show-casting-details",
|
||||
"type": "checkbox",
|
||||
"value": "1",
|
||||
"checked": "checked",
|
||||
"description": "If checked, detailed notes like casting time, duration, cost, maintain, resisted by, and class will be shown on the roll results template.",
|
||||
"descriptiontranslationkey": "sheet-show-casting-details-desc"
|
||||
},
|
||||
{
|
||||
"attribute": "fragmentation_recoil",
|
||||
"displayname": "Fragmentation Recoil",
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
"sheet-penalty-per-spell-on-desc": "Enter a negative integer for the penalty.",
|
||||
"sheet-penalty-per-spell-maintained": "Penalty for each spell MAINTAINED",
|
||||
"sheet-penalty-per-spell-maintained-desc": "Recoil for Fragmentation Damage.",
|
||||
"sheet-show-casting-details": "Show casting details on roll template:",
|
||||
"sheet-show-casting-details-desc": "If checked, detailed notes like casting time, duration, cost, maintain, resisted by, and class will be shown on the roll results template.",
|
||||
"sheet-fragmentation-recoil": "Fragmentation Recoil",
|
||||
"sheet-point-summary-layout-option": "Point Summary Layout",
|
||||
"sheet-point-summary-layout-option-desc": "Select option on how to display the Point Summary Table.",
|
||||
@@ -941,7 +943,7 @@
|
||||
"private-speed-tracker-label": "Private Speed Tracker",
|
||||
"private-speed-tracker-tooltip": "Show basic speed and add to Chat message to GM.",
|
||||
"spell-options-label": "Spell Options (See B238, M10)",
|
||||
"spell-options-table": "<table><tbody><tr><td>Penalty for each spell <b>ON:</b> </td><td><input type=\"number\" step=\"1\" value=\"-1\" name=\"attr_penalty_per_spell_on\"></td></tr><tr><td>Penalty for each spell <b>Concentrated On:</b> </td><td><input type=\"number\" step=\"1\" value=\"-3\" name=\"attr_penalty_per_spell_maintained\"></td></tr></tbody></table>",
|
||||
"spell-options-table": "<table><tbody><tr><td>Penalty for each spell <b>ON:</b> </td><td><input type=\"number\" step=\"1\" value=\"-1\" name=\"attr_penalty_per_spell_on\"></td></tr><tr><td>Penalty for each spell <b>Concentrated On:</b> </td><td><input type=\"number\" step=\"1\" value=\"-3\" name=\"attr_penalty_per_spell_maintained\"></td></tr><tr><td>Show casting details on roll template:</td><td><input type=\"checkbox\" name=\"attr_show_casting_details\" checked /></td></tr></tbody></table>",
|
||||
"abbreviation-show-rules-as-written-notes-label": "Show Active Defenses RAW Notes",
|
||||
"abbreviation-show-rules-as-written-spell-notes-label": "Show Spell RAW Notes",
|
||||
"abbreviation-show-rules-as-written-notes-tooltip": "Show Rules as Written Success/Fail notes",
|
||||
|
||||
Reference in New Issue
Block a user