HomeSort by: relevance | last modified time | path
    Searched refs:ROLL (Results 1 - 6 of 6) sorted by relevancy

  /src/games/phantasia/
fight.c 180 return ((int) ROLL(0.0, 100.0));
184 return ((int) ROLL(0.0, 15.0));
189 return ((int) ROLL(14.0, 86.0));
195 return ((int) (ROLL(0.0, 50.0) + ROLL(14.0, 37.0)));
201 return ((int) (ROLL(0.0, 50.0) + ROLL(14.0, 26.0)));
207 return ((int) ROLL(14.0, 50.0));
212 return ((int) ROLL(14.0, 25.0));
252 inflict = ROLL(Player.p_might / 2.0 + 5.0, 1.3 * Player.p_might
    [all...]
macros.h 7 #define ROLL(BASE,INTERVAL) floor((BASE) + (INTERVAL) * drandom())
misc.c 38 /* roll a type to use for increment */
39 statptr = &Stattable[(int) ROLL(C_MAGIC, C_HALFLING - C_MAGIC + 1)];
288 Player.p_brains += floor(numitems) * ROLL(20, 8);
400 ROLL(Circle * 20.0, 40.0), (drandom() < 0.5) ? "him" : "her");
678 addstr(deathmesg[(int) ROLL(0.0, (double) sizeof(deathmesg) / sizeof(char *))]);
728 xnew = Player.p_x + ROLL(1.0, 5.0);
729 ynew = Player.p_y - ROLL(1.0, 5.0);
748 xnew = Player.p_x + SGN(Player.p_x) * ROLL(50 * Circle, 250 * Circle);
749 ynew = Player.p_y + SGN(Player.p_y) * ROLL(50 * Circle, 250 * Circle);
837 Player.p_ring.ring_duration = (short) ROLL(10.0, 25.0)
    [all...]
main.c 346 Enrgyvoid.ev_x = ROLL(-1.0e6, 2.0e6);
347 Enrgyvoid.ev_y = ROLL(-1.0e6, 2.0e6);
377 genchar(chartype); /* roll up a character */
832 switch ((int) ROLL(0.0, 100.0)) {
862 temp = ROLL(10.0, 75.0);
944 ROLL(statptr->c_quickness.base, statptr->c_quickness.interval);
946 ROLL(statptr->c_strength.base, statptr->c_strength.interval);
948 ROLL(statptr->c_mana.base, statptr->c_mana.interval);
951 ROLL(statptr->c_energy.base, statptr->c_energy.interval);
953 ROLL(statptr->c_brains.base, statptr->c_brains.interval)
    [all...]
interplayer.c 310 dtemp = ROLL(2.0, Player.p_might);
543 Enrgyvoid.ev_x = ROLL(-1.0e6, 2.0e6);
544 Enrgyvoid.ev_y = ROLL(-1.0e6, 2.0e6);
784 temp1 += ROLL(-temp1 / 10.0, temp1 / 5.0); /* add some error */
io.c 110 return ((int) ROLL(0.0, 5.0) + '0');

Completed in 14 milliseconds