mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-12 15:30:55 +00:00
tfv: update lightning damage
This commit is contained in:
parent
22f6ec2e2f
commit
8eee92d73d
@ -1057,9 +1057,9 @@ static int world_map(void) {
|
|||||||
/* Hurt hit points if in range? */
|
/* Hurt hit points if in range? */
|
||||||
if ((tfv_x>25) && (tfv_x<30) && (tfv_y<12)) {
|
if ((tfv_x>25) && (tfv_x<30) && (tfv_y<12)) {
|
||||||
printf("HIT! %d %d\n\n",steps,hp);
|
printf("HIT! %d %d\n\n",steps,hp);
|
||||||
hp=hp-10;
|
if (hp>11) {
|
||||||
if (hp<1) hp=1;
|
hp=10;
|
||||||
steps++;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user