Home | History | Annotate | Download | only in larn

Lines Matching defs:hit

37 	int             hit, dam;
74 lprcat("\n\nHere's a Table for the to hit percentages\n");
77 lprcat("\n to hit: if (rnd(22) < (2[monst AC] + your level + dex + WC/8 -1)/2) then hit");
79 lprcat("\n to hit: if rnd(22) < to hit then player hits\n");
80 lprcat("\n Each entry is as follows: to hit / damage / number hits to kill\n");
84 hit = 2 * monster[i].armorclass + 2 * monster[i].level + 16;
88 (long) (hit / 2), (long) max(0, dam + 2), (long) (monster[i].hitpoints / (dam + 2) + 1),
89 (long) ((hit + 2) / 2), (long) max(0, dam + 10), (long) (monster[i].hitpoints / (dam + 10) + 1),
90 (long) ((hit + 5) / 2), (long) max(0, dam + 20), (long) (monster[i].hitpoints / (dam + 20) + 1));