Home | History | Annotate | Download | only in phantasia

Lines Matching defs:dtemp

648 	double  dtemp;		/* for dtemporary calculations */
720 dtemp = floor(infloat());
722 while (dtemp < 0.0 || dtemp > Player.p_mana);
724 Player.p_mana -= dtemp;
731 inflict = dtemp * ROLL(15.0, sqrt(Player.p_magiclvl / 3.0 + 1.0));
940 double dtemp; /* for temporary calculations */
1042 dtemp = ROLL(7.0, 30.0 + Circle / 10.0);
1043 printw("You've found a +%.0f shield!\n", dtemp);
1044 if (dtemp >= Player.p_shield)
1045 Player.p_shield = dtemp;
1129 dtemp = ROLL(Circle / 4.0 + 5.0, Circle / 2.0 + 9.0);
1130 printw("You've discovered a +%.0f dagger.\n", dtemp);
1131 if (dtemp >= Player.p_sword)
1132 Player.p_sword = dtemp;
1138 dtemp = ROLL(7.5 + Circle * 3.0, Circle * 2.0 + 160.0);
1139 printw("You have found some +%.0f armour!\n", dtemp);
1140 if (dtemp >= Player.p_shield)
1141 Player.p_shield = dtemp;
1171 dtemp = ROLL(2.0 + Circle / 4.0, Circle / 1.2 + 10.0);
1172 printw("You have found a +%.0f axe!\n", dtemp);
1173 if (dtemp >= Player.p_sword)
1174 Player.p_sword = dtemp;
1197 dtemp = ROLL(5.0 + Circle / 3.0, Circle / 1.5 + 20.0);
1198 printw("You have found a +%.0f war hammer!\n", dtemp);
1199 if (dtemp >= Player.p_sword)
1200 Player.p_sword = dtemp;
1230 dtemp = ROLL(10.0 + Circle / 1.2, Circle * 3.0 + 30.0);
1231 printw("You've found a +%.0f sword!\n", dtemp);
1232 if (dtemp >= Player.p_sword)
1233 Player.p_sword = dtemp;
1341 dtemp = ROLL(1.0, Circle / 5.0 + 5.0);
1342 dtemp = MIN(dtemp, 99.0);
1343 printw("You have discovered some +%.0f quicksilver!\n", dtemp);
1344 if (dtemp >= Player.p_quksilver)
1345 Player.p_quksilver = dtemp;