Home
last modified time | relevance | path

Searched refs:hitpoints (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/games/larn/
Ddiag.c71 …printf("%6ld %3ld %6ld\n", (long) monster[i].gold, (long) monster[i].hitpoints, (long) monster[… in diag()
88 … (long) (hit / 2), (long) max(0, dam + 2), (long) (monster[i].hitpoints / (dam + 2) + 1), in diag()
89 … (long) ((hit + 2) / 2), (long) max(0, dam + 10), (long) (monster[i].hitpoints / (dam + 10) + 1), in diag()
90 … (long) ((hit + 5) / 2), (long) max(0, dam + 20), (long) (monster[i].hitpoints / (dam + 20) + 1)); in diag()
Dcreate.c161 hitp[i][j] = monster[z].hitpoints; in makemaze()
275 marg = monster[mit].hitpoints; in cannedlevel()
283 marg = monster[mit].hitpoints; in cannedlevel()
289 marg = monster[mit].hitpoints; in cannedlevel()
561 hitp[x][y] = monster[what].hitpoints; in fillmonst()
Dtok.c152 i = ((6 + k) * mp->hitpoints + 1) / 6; in sethard()
153 mp->hitpoints = (i < 0) ? 32767 : i; in sethard()
Dmonster.c164 hitp[x][y] = monster[mon].hitpoints; in createmonster()
450 hitp[i][j] = monster[GNOMEKING].hitpoints; in speldamage()
456 hitp[i][j] = monster[DEMONPRINCE].hitpoints; in speldamage()
891 hitp[x][y] = monster[GNOMEKING].hitpoints; in godirect()
1106 hitp[x][y] = monster[m].hitpoints; in dirpoly()
1198 if (hitp[x][y] > monster[monst].hitpoints) in hitm()
1199 hitp[x][y] = monster[monst].hitpoints; in hitm()
Dheader.h45 short hitpoints; member
Dmovem.c339 if (monster[tmp].hitpoints > hitp[cc][dd]) in mmove()
Dobject.c1014 hitp[j][i] = monster[mitem[j][i]].hitpoints; in read_scroll()