forked from MTSR/mapserver
half hearts and bubbles
This commit is contained in:
parent
9be625fae4
commit
6130549fb5
@ -37,7 +37,7 @@ var PlayerOverlay = L.LayerGroup.extend({
|
||||
html += "<img src='pics/heart.png'>";
|
||||
|
||||
if (player.hp % 2 == 1)
|
||||
html += "<img src='pics/heart.png' width='8'>";
|
||||
html += "<img src='pics/heart_half.png'>";
|
||||
|
||||
html += "<br>";
|
||||
|
||||
@ -45,7 +45,7 @@ var PlayerOverlay = L.LayerGroup.extend({
|
||||
html += "<img src='pics/bubble.png'>";
|
||||
|
||||
if (player.breath % 2 == 1)
|
||||
html += "<img src='pics/bubble.png' width='8'>";
|
||||
html += "<img src='pics/bubble_half.png'>";
|
||||
|
||||
|
||||
marker.bindPopup(html);
|
||||
|
BIN
server/static/pics/bubble_half.png
Normal file
BIN
server/static/pics/bubble_half.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 522 B |
BIN
server/static/pics/heart_half.png
Normal file
BIN
server/static/pics/heart_half.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 508 B |
Loading…
Reference in New Issue
Block a user