diff --git a/Zafir/zafir.css b/Zafir/zafir.css index 446898f75a..03274f2bf0 100644 --- a/Zafir/zafir.css +++ b/Zafir/zafir.css @@ -524,7 +524,9 @@ button[type=roll].sheet-btn::before { } /* // Roll Template /////////////////////////////////////////////*/ -.sheet-rolltemplate-zafir div.sheet-template-container { + +.sheet-rolltemplate-zafir div.sheet-template-container, +.sheet-rolltemplate-zafirwillattack div.sheet-template-container { border: 2px solid #AAA; border-radius: 8px; padding-top: 8px; @@ -533,21 +535,32 @@ button[type=roll].sheet-btn::before { font-family: "Montserrat" } -.sheet-rolltemplate-zafir .sheet-template-header { +.sheet-rolltemplate-zafirwillattack div.sheet-template-container { + border: 2px solid #8a58ad; +} + +.sheet-rolltemplate-zafir .sheet-template-header, +.sheet-rolltemplate-zafirwillattack .sheet-template-header { color: #555; font-weight: bold; margin: 0px 8px 0px 8px; border-bottom: 1px solid #AAA } -.sheet-rolltemplate-zafir .sheet-template-row { +.sheet-rolltemplate-zafirwillattack .sheet-template-header { + color: #8a58ad; +} + +.sheet-rolltemplate-zafir .sheet-template-row, +.sheet-rolltemplate-zafirwillattack .sheet-template-row { line-height: 2em; margin: 8px 0px 0px 0px; padding: 0px 8px 0px 8px; font-weight: bold; } -.sheet-rolltemplate-zafir .sheet-hit { +.sheet-rolltemplate-zafir .sheet-hit, +.sheet-rolltemplate-zafirwillattack .sheet-hit { background: repeating-linear-gradient( -45deg, #dbffe1, @@ -558,7 +571,8 @@ button[type=roll].sheet-btn::before { color: #1c752a; } -.sheet-rolltemplate-zafir .sheet-crit-hit { +.sheet-rolltemplate-zafir .sheet-crit-hit, +.sheet-rolltemplate-zafirwillattack .sheet-crit-hit { color: white; font-weight: bolder; text-shadow: @@ -590,7 +604,10 @@ button[type=roll].sheet-btn::before { .sheet-rolltemplate-zafir .sheet-hit .inlinerollresult, .sheet-rolltemplate-zafir .sheet-miss .inlinerollresult, -.sheet-rolltemplate-zafir .sheet-crit-hit .inlinerollresult { +.sheet-rolltemplate-zafir .sheet-crit-hit .inlinerollresult, +.sheet-rolltemplate-zafirwillattack .sheet-hit .inlinerollresult, +.sheet-rolltemplate-zafirwillattack .sheet-miss .inlinerollresult, +.sheet-rolltemplate-zafirwillattack .sheet-crit-hit .inlinerollresult { color: black; font-weight: bold; text-shadow: none; @@ -607,31 +624,49 @@ button[type=roll].sheet-btn::before { color: #852419; } -.sheet-rolltemplate-zafir .sheet-notes { +.sheet-rolltemplate-zafirwillattack .sheet-miss { + background: repeating-linear-gradient( + -45deg, + #f4e3ff, + #f4e3ff 10px, + #e2b8ff 10px, + #e2b8ff 20px + ); + color: #4e1573; +} + +.sheet-rolltemplate-zafir .sheet-notes, +.sheet-rolltemplate-zafirwillattack .sheet-notes { font-style: italic; font-weight: normal; color: gray; padding-left: 20px; + margin-top: -4px; } -.sheet-rolltemplate-zafir .inlinerollresult { - display: inline-block; +.sheet-rolltemplate-zafir .inlinerollresult, +.sheet-rolltemplate-zafirwillattack .inlinerollresult { + display: inline; min-width: 1em; line-height: 1.3em; text-align: center; border: 2px solid #AAA; float: right; margin-top: 2px; + background-color: white; } -.sheet-rolltemplate-zafir .inlinerollresult.fullcrit { +.sheet-rolltemplate-zafir .inlinerollresult.fullcrit, +.sheet-rolltemplate-zafirwillattack .inlinerollresult.fullcrit { border: 2px solid #AAA; } -.sheet-rolltemplate-zafir .inlinerollresult.fullfail { +.sheet-rolltemplate-zafir .inlinerollresult.fullfail, +.sheet-rolltemplate-zafirwillattack .inlinerollresult.fullfail { border: 2px solid #AAA; } -.sheet-rolltemplate-zafir .inlinerollresult.importantroll { +.sheet-rolltemplate-zafir .inlinerollresult.importantroll, +.sheet-rolltemplate-zafirwillattack .inlinerollresult.importantroll { border: 2px solid #AAA; } \ No newline at end of file diff --git a/Zafir/zafir.html b/Zafir/zafir.html index 1802833c0e..6dbc8a6f8f 100644 --- a/Zafir/zafir.html +++ b/Zafir/zafir.html @@ -84,22 +84,50 @@
- +
- +
- + - +

Will Attack

+
+
+
+
+
+ +
+ +
+ + + +

Ammo Tracker

@@ -422,6 +450,36 @@
+ +
+ {{#name}} +
{{name}}
+ {{/name}} + {{^name}} +
Will Attack
+ {{/name}} + {{#rollGreater() aim 0}} + {{#rollGreater() resist 0}} +
RESISTED! {{resist}}
+ {{/rollGreater() resist 0}} + {{#rollTotal() resist 0}} + {{#rollGreater() crit 0}} +
CRITICAL SUCCESS! {{crit}} {{aim}}
+ {{/rollGreater() crit 0}} + {{#rollTotal() crit 0}} +
SUCCESS! {{aim}}
+ {{/rollTotal() crit 0}} + {{/rollTotal() resist 0}} + {{#notes}} +
{{notes}}
+ {{/notes}} + {{/rollGreater() aim 0}} + {{#rollTotal() aim 0}} +
FAILED! {{aim}}
+ {{/rollTotal() aim 0}} +
+
+