add round nb

This commit is contained in:
quenousimporte 2025-04-06 12:57:23 +02:00
parent dbe683e317
commit 209e100be7
1 changed files with 2 additions and 0 deletions

2
w/w.c
View File

@ -612,8 +612,10 @@ void drawrounds()
{ {
printf("Rencontre avec %s.\n\n", state.monster.name); printf("Rencontre avec %s.\n\n", state.monster.name);
Round* p = firstround; Round* p = firstround;
int n = 1;
while (p) while (p)
{ {
printf("Tour %d\n", n++);
if (p->action == CMD_ATTACK) if (p->action == CMD_ATTACK)
{ {
printf("%s perd %d points de vie\n", state.monster.name, p->monsterdmg); printf("%s perd %d points de vie\n", state.monster.name, p->monsterdmg);