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

View file

@ -6,8 +6,10 @@
{% 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 %}
{% 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 #}
<span class="mana symbol">&#x2744;</span>