projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deathray is now regressed to original 5% probability in 'plain' games.
[super-star-trek.git]
/
moving.c
diff --git
a/moving.c
b/moving.c
index 2f08d0840b0173d7ef9d5958e7f69637e4eb5715..a5d11b3e25b7fba12bacd3d2726b8456365a220c 100644
(file)
--- a/
moving.c
+++ b/
moving.c
@@
-153,7
+153,7
@@
void imove(void)
if (game.damage[l]>0)
n++;
probf=pow(1.4,(energy+shield)/5000.0-1.0)*pow(1.3,1.0/(n+1)-1.0);
if (game.damage[l]>0)
n++;
probf=pow(1.4,(energy+shield)/5000.0-1.0)*pow(1.3,1.0/(n+1)-1.0);
- if (Rand()>probf)
+ if (
(game.options & OPTION_BLKHOLE) &&
Rand()>probf)
timwrp();
else
finish(FHOLE);
timwrp();
else
finish(FHOLE);
@@
-763,7
+763,7
@@
void atover(int igrab)
} while
/* Repeat if another snova */
(game.state.galaxy[quadx][quady].supernova);
} while
/* Repeat if another snova */
(game.state.galaxy[quadx][quady].supernova);
- if (
game.state.remkl
==0)
+ if (
KLINGREM
==0)
finish(FWON); /* Snova killed remaining enemy. */
}
finish(FWON); /* Snova killed remaining enemy. */
}