diff --git a/styles/simple.css b/styles/simple.css index c62b90e0..ee5dde37 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -365,6 +365,20 @@ table {border: 1px solid #7a7971;} border-bottom: 1px solid #BBB; } +.blessure-inactive{ + color:rgba(150, 150, 150, 0.4) +} +.blessure-active-legere{ + color:rgba(60, 60, 60, 0.9); + text-shadow: rgba(60, 60, 60, 0.7); +} +.blessure-active-grave{ + color:rgba(218, 126, 21, 0.9); +} +.blessure-active-critique{ + color:rgba(173, 36, 26, 0.9); + +} .foundryvtt-reve-de-dragon .items-list .item .item-image { -webkit-box-flex: 0; -ms-flex: 0 0 24px; @@ -630,7 +644,6 @@ ul, li { .table-row { margin: 0.125rem; - border-radius: 0; padding: 0.125rem; flex: 1 1 5rem; } diff --git a/templates/actor-blessure-partial.html b/templates/actor-blessure-partial.html index b08f50f7..fd9afe68 100644 --- a/templates/actor-blessure-partial.html +++ b/templates/actor-blessure-partial.html @@ -1,24 +1,24 @@ - - {{title}} - {{#if bless.active}} - + + {{!-- --}} + {{!-- --}} {{else}} - + {{!-- --}} + {{/if}} - + - + - + - + diff --git a/templates/actor-liste-blessures-partial.html b/templates/actor-liste-blessures-partial.html index ea58f23b..16465ca7 100644 --- a/templates/actor-liste-blessures-partial.html +++ b/templates/actor-liste-blessures-partial.html @@ -2,7 +2,7 @@ - + @@ -10,14 +10,17 @@ + {{#each data.blessures.legeres.liste as |bless key|}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor-blessure-partial.html" bless=bless key=key gravite="legere" title="Légère"}} {{/each}} + {{#each data.blessures.graves.liste as |bless key|}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor-blessure-partial.html" bless=bless key=key gravite="grave" title="Grave"}} {{/each}} + {{#each data.blessures.critiques.liste as |bless key|}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor-blessure-partial.html" bless=bless key=key gravite="legere" title="Critique"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor-blessure-partial.html" bless=bless key=key gravite="critique" title="Critique"}} {{/each}}
Gravité Localisation Premiers soins Soins complets
Légères
Graves
Critiques
\ No newline at end of file diff --git a/templates/chat-resultat-encaissement.html b/templates/chat-resultat-encaissement.html index 8e1621f6..849297f5 100644 --- a/templates/chat-resultat-encaissement.html +++ b/templates/chat-resultat-encaissement.html @@ -16,7 +16,7 @@
- Je d'encaissement de {{roll.total}} + Jet d'encaissement de {{roll.total}} {{#unless (eq armure 0)}}, l'armure a protègé de {{armure}} {{#unless (eq penetration 0)}}(pénétration de {{penetration}}) {{/unless}} {{/unless}}, total: {{total}}