tfv: update lightning damage

This commit is contained in:
Vince Weaver 2017-08-07 21:21:54 -04:00
parent 22f6ec2e2f
commit 8eee92d73d

View File

@ -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++; }
} }
} }
} }