Home | History | Annotate | Download | only in battlestar

Lines Matching defs:hurt

47 	int     hurt;
74 hurt = rnd(70) - 2 * card(injuries, NUMOFINJURIES) -
77 hurt = rnd(50) % (WEIGHT - carrying) -
83 hurt = rnd(15) - card(injuries, NUMOFINJURIES) -
86 hurt = rnd(7) - encumber;
87 if (hurt < 5)
101 else if (hurt < 10) {
115 } else if (hurt < 20) {
130 } else if (hurt < 30) {
147 } else if (hurt < 40) {
287 hurt = rnd(NUMOFINJURIES) - (testbit(inven, SHIELD) != 0) -
289 hurt += (testbit(wear, AMULET) != 0) +
291 hurt = hurt < 0 ? 0 : hurt;
292 hurt = hurt >= NUMOFINJURIES ? NUMOFINJURIES - 1 : hurt;
293 if (!injuries[hurt]) {
294 injuries[hurt] = 1;
295 printf("I'm afraid you have suffered %s.\n", ouch[hurt]);