Don't display {X0} for {X} mana costs

This commit is contained in:
Correl Roush 2010-09-22 23:48:16 -04:00
parent 462e51bfdb
commit 47c6aa0deb
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@
{% if cost.y %}<span class="mana symbol">Y</span>{% endif %}
{% if cost.z %}<span class="mana symbol">Z</span>{% endif %}
{% if cost.any > 0 or cost.converted == 0 %}
<span class="mana symbol">{{ cost.any }}</span>
{% if not cost.x and not cost.y and not cost.z %}
<span class="mana symbol">{{ cost.any }}</span>
{% endif %}
{% endif %}
{% for i in cost.snow|get_range %}
{# use the unicode snowflake symbol #}