add round nb
This commit is contained in:
parent
dbe683e317
commit
209e100be7
2
w/w.c
2
w/w.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue