This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{!-- Résultat du Dé de la Lune (narratif) --}}
|
||||
{{!-- Résultat du Dé de la Lune (narratif + choix de contrepartie) --}}
|
||||
{{#if hasMoonDie}}
|
||||
<div class="moon-die-result {{moonResultClass}}">
|
||||
<span class="moon-die-face">{{moonFaceSymbol}}</span>
|
||||
@@ -132,6 +132,27 @@
|
||||
<span class="moon-die-desc">{{moonResultDesc}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{#if moonActorIsCharacter}}
|
||||
<div class="moon-effect-actions" data-moon-actor-id="{{moonActorId}}" data-moon-actor-uuid="{{moonActorUuid}}">
|
||||
<span class="moon-effect-label">{{localize "CELESTOPOL.Moon.applyChoose"}}</span>
|
||||
<div class="moon-effect-buttons">
|
||||
{{#if (eq moonResultTypeId "triomphe")}}
|
||||
<button type="button" class="moon-effect-btn" data-action="apply-moon-effect" data-effect="regain-anomaly">{{localize "CELESTOPOL.Moon.effectRegainAnomaly"}}</button>
|
||||
<button type="button" class="moon-effect-btn" data-action="apply-moon-effect" data-effect="lose-spleen">{{localize "CELESTOPOL.Moon.effectLoseSpleen"}}</button>
|
||||
{{else if (eq moonResultTypeId "brio")}}
|
||||
<button type="button" class="moon-effect-btn" data-action="apply-moon-effect" data-effect="gain-destin">{{localize "CELESTOPOL.Moon.effectGainDestin"}}</button>
|
||||
<span class="moon-effect-narrative">{{localize "CELESTOPOL.Moon.effectNarrativeOnly"}}</span>
|
||||
{{else if (eq moonResultTypeId "contrecoup")}}
|
||||
<button type="button" class="moon-effect-btn moon-effect-negative" data-action="apply-moon-effect" data-effect="lose-destin">{{localize "CELESTOPOL.Moon.effectLoseDestin"}}</button>
|
||||
<span class="moon-effect-narrative">{{localize "CELESTOPOL.Moon.effectNarrativeOnly"}}</span>
|
||||
{{else if (eq moonResultTypeId "catastrophe")}}
|
||||
<button type="button" class="moon-effect-btn moon-effect-negative" data-action="apply-moon-effect" data-effect="lose-anomaly">{{localize "CELESTOPOL.Moon.effectLoseAnomaly"}}</button>
|
||||
<button type="button" class="moon-effect-btn moon-effect-negative" data-action="apply-moon-effect" data-effect="gain-spleen">{{localize "CELESTOPOL.Moon.effectGainSpleen"}}</button>
|
||||
<span class="moon-effect-narrative">{{localize "CELESTOPOL.Moon.effectNarrativeOnly"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{!-- Bandeau résultat --}}
|
||||
|
||||
@@ -36,4 +36,27 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Choix de la contrepartie --}}
|
||||
{{#if moonActorIsCharacter}}
|
||||
<div class="moon-effect-actions" data-moon-actor-id="{{moonActorId}}" data-moon-actor-uuid="{{moonActorUuid}}">
|
||||
<span class="moon-effect-label">{{localize "CELESTOPOL.Moon.applyChoose"}}</span>
|
||||
<div class="moon-effect-buttons">
|
||||
{{#if (eq moonResultTypeId "triomphe")}}
|
||||
<button type="button" class="moon-effect-btn" data-action="apply-moon-effect" data-effect="regain-anomaly">{{localize "CELESTOPOL.Moon.effectRegainAnomaly"}}</button>
|
||||
<button type="button" class="moon-effect-btn" data-action="apply-moon-effect" data-effect="lose-spleen">{{localize "CELESTOPOL.Moon.effectLoseSpleen"}}</button>
|
||||
{{else if (eq moonResultTypeId "brio")}}
|
||||
<button type="button" class="moon-effect-btn" data-action="apply-moon-effect" data-effect="gain-destin">{{localize "CELESTOPOL.Moon.effectGainDestin"}}</button>
|
||||
<span class="moon-effect-narrative">{{localize "CELESTOPOL.Moon.effectNarrativeOnly"}}</span>
|
||||
{{else if (eq moonResultTypeId "contrecoup")}}
|
||||
<button type="button" class="moon-effect-btn moon-effect-negative" data-action="apply-moon-effect" data-effect="lose-destin">{{localize "CELESTOPOL.Moon.effectLoseDestin"}}</button>
|
||||
<span class="moon-effect-narrative">{{localize "CELESTOPOL.Moon.effectNarrativeOnly"}}</span>
|
||||
{{else if (eq moonResultTypeId "catastrophe")}}
|
||||
<button type="button" class="moon-effect-btn moon-effect-negative" data-action="apply-moon-effect" data-effect="lose-anomaly">{{localize "CELESTOPOL.Moon.effectLoseAnomaly"}}</button>
|
||||
<button type="button" class="moon-effect-btn moon-effect-negative" data-action="apply-moon-effect" data-effect="gain-spleen">{{localize "CELESTOPOL.Moon.effectGainSpleen"}}</button>
|
||||
<span class="moon-effect-narrative">{{localize "CELESTOPOL.Moon.effectNarrativeOnly"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user