mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-12 00:30:31 +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? */
|
||||
if ((tfv_x>25) && (tfv_x<30) && (tfv_y<12)) {
|
||||
printf("HIT! %d %d\n\n",steps,hp);
|
||||
hp=hp-10;
|
||||
if (hp<1) hp=1;
|
||||
steps++;
|
||||
if (hp>11) {
|
||||
hp=10;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user