From dc3ac76e15d46df0a697a21ea43a9d0607c34971 Mon Sep 17 00:00:00 2001 From: Stexinator Date: Fri, 16 Oct 2020 16:57:20 +0200 Subject: [PATCH] [Dark Heresy 2ed] add a damage roll template --- Dark_Heresy_2ed/DarkHeresy2ed.html | 79 ++++++++++++++++++++++---- Dark_Heresy_2ed/DarkHeresy2edStyle.css | 64 ++++++++++++++++----- 2 files changed, 118 insertions(+), 25 deletions(-) diff --git a/Dark_Heresy_2ed/DarkHeresy2ed.html b/Dark_Heresy_2ed/DarkHeresy2ed.html index 9326bd0129..2ea8898111 100644 --- a/Dark_Heresy_2ed/DarkHeresy2ed.html +++ b/Dark_Heresy_2ed/DarkHeresy2ed.html @@ -3024,6 +3024,7 @@ {{roll}} {{/roll}} + {{#range}} {{#rollGreater() roll 95}} @@ -3038,42 +3039,47 @@ {{/rollGreater() roll 95}} {{/range}} + {{#rollGreater() degrees 0}} - Success with additional {{degress}} degrees + Success with {{degrees}} additional degrees {{/rollGreater() degrees 0}} + {{#rollTotal() degrees 0}} - {{#^rollLess() roll target}} + {{#^rollLess() target roll}} Success - {{/^rollLess() roll target}} - {{#rollLess() roll target}} + {{/^rollLess() target roll}} + {{#rollLess() target roll}} Failure - {{/rollLess() roll target}} + {{/rollLess() target roll}} {{/rollTotal() degrees 0}} + {{#rollLess() degrees 0}} - Failure with additional {{degrees}} degrees + Failure with {{degrees}} additional degrees {{/rollLess() degrees 0}} + {{#psy}} Result Psy: {{psy}} {{/psy}} + {{#^rollLess() degrees 0}} {{#damage}} @@ -3083,10 +3089,11 @@ {{#rollWasCrit() damage}} Check for: - Righteous Fury [[1d5]] + Righteous Fury {{/rollWasCrit() damage}} {{/damage}} + {{#damagetype}} Type: @@ -3094,15 +3101,15 @@ {{/damagetype}} {{#penetration}} - + Penetration: {{penetration}} {{/penetration}} - {{#location}} - + Location: {{location}} @@ -3115,6 +3122,7 @@ {{/special}} {{/^rollLess() degrees 0}} + {{#initiative}} Result: @@ -3123,7 +3131,58 @@ {{/initiative}} + + + + + + + + + {{#damage}} + + + + + {{#rollWasCrit() damage}} + + + + + {{/rollWasCrit() damage}} + {{/damage}} + {{#damagetype}} + + + + + {{/damagetype}} + {{#penetration}} + + + + + {{/penetration}} + + {{#location}} + + + + + {{/location}} + + {{#special}} + + + + + {{/special}} +
{{name}}
+ spacer
Damage: {{damage}}
Check for: Righteous Fury
Type: {{damagetype}}
Penetration: {{penetration}}
Location: {{location}}
Special: {{special}}
+