{{#if user.isGM}} {{/if}}
{{#if user.isGM}} {{/if}} {{log combat.flags}} {{#if combatCount}} {{#if combat.round}}

Turn {{combat.flags.world.turnData.turnNumber}} Segment {{combat.flags.world.turnData.segmentNumber}}

{{else}}

{{localize 'COMBAT.NotStarted'}}

{{/if}} {{else}}

{{localize "COMBAT.None"}}

{{/if}} {{#if user.isGM}} {{/if}}
    {{#each turns}} {{#if (checkInit this.initiative)}}
  1. {{this.name}}

    {{this.name}}

    {{#if ../user.isGM}} {{/if}} {{#if this.canPing}} {{/if}}
    {{#each this.effects}} {{/each}}
    {{#if this.hasResource}}
    {{this.resource}}
    {{/if}}
    {{#if this.hasRolled}} {{this.initiative}} {{else if this.owner}} {{/if}}
  2. {{/if}} {{/each}}