Browse Source

Fix alignment on action names

master
Josh Gordon 4 years ago
parent
commit
2502c4b52c
  1. 5
      Monsters/matryoshka.txt
  2. 4
      app/templates/monsters.html

5
Monsters/matryoshka.txt

@ -40,9 +40,12 @@ Actions {
}
}
Hatch {
Hit 0
Reach 0
Damage 0
Special {
This action cannot be taken if you are small in size.
Split open vertically and erupt out another Matroshka one size level smaller.
Split open vertically and erupt out another Matryoshka one size level smaller.
A medium matryoshka does 2d8+5 damage on slams, and a small matryoshka does 2d8+2. A medium matryoshka has 83 HP, and a small matryoshka has 63 HP. All other values are unchanged.

4
app/templates/monsters.html

@ -23,12 +23,12 @@
<td class="freeform monospace">{{monster.getDescription()}}
<hr>{{monster.getNotes()}}
</td>
<td class="freeform monospace centered">{% for action in monster.exportActions() %}{{action.name}} <table class="props">
<td class="freeform monospace centered">{% for action in monster.exportActions() %}{{action.name}}<table class="props">
{% for (key,val) in action.export() %}
<tr><th>{{key}}</th><td>{{val}}</td></tr>
{% endfor %}
</table>{% if not loop.last %} <br> {% endif %}{% endfor %}</td>
</table>{% if not loop.last %}<br>{% endif %}{% endfor %}</td>
</tr>
{% endfor %}

Loading…
Cancel
Save