if (badpt < 100.0) badpt = 0.0; // Close enough!
if (game.state.date-indate < 5.0 ||
// killsPerDate >= RateMax
if (badpt < 100.0) badpt = 0.0; // Close enough!
if (game.state.date-indate < 5.0 ||
// killsPerDate >= RateMax
0.1*skill*(skill+1.0) + 0.1 + 0.008*badpt) {
skip(1);
prout("In fact, you have done so well that Starfleet Command");
0.1*skill*(skill+1.0) + 0.1 + 0.008*badpt) {
skip(1);
prout("In fact, you have done so well that Starfleet Command");
prout("conquered. Your starship is now Klingon property,");
prout("and you are put on trial as a war criminal. On the");
proutn("basis of your record, you are ");
prout("conquered. Your starship is now Klingon property,");
prout("and you are put on trial as a war criminal. On the");
proutn("basis of your record, you are ");
double goodies = game.state.remres/inresor;
double baddies = (game.state.remkl + 2.0*game.state.remcom)/(inkling+2.0*incom);
if (goodies/baddies >= 1.0+0.5*Rand()) {
double goodies = game.state.remres/inresor;
double baddies = (game.state.remkl + 2.0*game.state.remcom)/(inkling+2.0*incom);
if (goodies/baddies >= 1.0+0.5*Rand()) {
- if ((timused == 0 || game.state.remkl != 0) && timused < 5.0) timused = 5.0;
- perdate = (game.state.killc + game.state.killk + game.state.nsckill)/timused;
+ if ((timused == 0 || KLINGREM != 0) && timused < 5.0) timused = 5.0;
+ perdate = KLINGKILLED/timused;
else if (ship == IHF) klship = 1;
else klship = 2;
if (gamewon == 0) game.state.nromrem = 0; // None captured if no win
else if (ship == IHF) klship = 1;
else klship = 2;
if (gamewon == 0) game.state.nromrem = 0; // None captured if no win
if (game.state.nromrem)
prout("%6d Romulans captured %5d",
game.state.nromrem, game.state.nromrem);
if (game.state.nromrem)
prout("%6d Romulans captured %5d",
game.state.nromrem, game.state.nromrem);