Lines Matching defs:dtemp
67 double dtemp; /* for temporary calculations */
96 dtemp = (Player.p_level - Other.p_level) / MAX(Player.p_level, Other.p_level);
97 if (dtemp < -0.5)
214 dtemp = Other.p_1scratch - oldhits;
215 mvprintw(Lines++, 0, "%s hit you %.0f times!", Enemyname, dtemp);
216 Shield -= dtemp;
295 double dtemp; /* for temporary calculations */
310 dtemp = ROLL(2.0, Player.p_might);
312 mvprintw(Lines++, 0, "You hit %s %.0f times!", Enemyname, dtemp);
314 Player.p_1scratch += dtemp;
331 dtemp = MIN(Player.p_mana, Player.p_level * 5.0);
332 Player.p_mana -= dtemp;
333 dtemp *= (drandom() + 0.5) * Player.p_magiclvl * 0.2 + 2.0;