Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
Adds ability to display crits in overaly.
Browse files Browse the repository at this point in the history
  • Loading branch information
kingargyle committed Oct 31, 2017
1 parent cdc8422 commit 7366fec
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
}
.red {
color: red;
}
.shields-symbol { font-family: "x-wing-symbols";
font-size: 1.7em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<span> ${pilot.name} </span>
</div>
<div>
<span><b class="agility">${fun.findShipAgility(pilot.ship)}</b> <span class="agility-symbol">^</span> </span>
<span><b class="attack">${fun.findShipAttack(pilot.ship)}</b> <span class="attack-symbol">%</span> </span>
<span><b class="agility">${fun.findShipAgility(pilot.ship)}</b> <span class="agility-symbol">^</span> </span>
<span>
<b class="shields">${(pilot.shields)!"0"}</b>
<span class="shields-symbol">*</span>&nbsp;&nbsp;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<span>${fun.pilotAliveDead(pilot)}</span>
</#if>
<span> ${pilot.name} </span>
<#if pilot.hasCriticalDamage()>
<span> <i class="xwing-miniatures-font xwing-miniatures-font-token-crit red"></i></span>
</#if>
</div>
<div>
<span><span class="attack-symbol">%</span>&nbsp;<b class="attack">${fun.findShipAttack(pilot.ship)}&nbsp;</b></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<span>${fun.pilotAliveDead(pilot)}</span>
</#if>
<span> ${pilot.name} </span>
<#if pilot.hasCriticalDamage()>
<span> <i class="xwing-miniatures-font xwing-miniatures-font-token-crit red"></i></span>
</#if>
</div>
<div>
<span>[${pilot.points}]&nbsp;</span>
Expand Down

0 comments on commit 7366fec

Please sign in to comment.