{section name=i loop=$template_combat_vars}

Your Health: {$template_combat_vars[i].char_health}
Creature's Health: {$template_combat_vars[i].creat_health}
{if $template_combat_vars[i].char_stats.damage > 0 && $template_combat_vars[i].char_stats.critical > 0} You scored a CRITICAL HIT doing {$template_combat_vars[i].char_stats.damage} damage.
{elseif $template_combat_vars[i].char_stats.damage > 0} You have struck the creature doing {$template_combat_vars[i].char_stats.damage} damage.
{elseif $template_combat_vars[i].char_stats.nohit == "true"} You missed and did no damage!
{/if} {if $template_combat_vars[i].creat_stats.damage > 0} The {$creature.name} hit you for {$template_combat_vars[i].creat_stats.damage} damage.
{elseif $template_combat_vars[i].creat_stats.nohit == "true"} The {$creature.name} missed and did no damage!
{/if} {if $template_combat_vars[i].char_stats.victory == "true"}
You defeated the {$creature.name}!!!

You search the {$creature.name}'s body and discover {$template_combat_vars[i].cash_award} Gold!
You gain {$template_combat_vars[i].exp_award} Experience! {/if} {if $template_combat_vars[i].char_stats.defeat == "true"}
You have been defeated by the {$creature.name}!!! {/if}
{/section}