projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
42fe10c
)
Correct crediting of kills.
author
Eric S. Raymond
<esr@thyrsus.com>
Sat, 25 Feb 2017 14:11:20 +0000
(09:11 -0500)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sat, 25 Feb 2017 14:11:20 +0000
(09:11 -0500)
sst.py
patch
|
blob
|
history
diff --git
a/sst.py
b/sst.py
index f34358a846b66835958d1ff4bdcb587d3ff59b1f..c254e2388f42aba7a05867e03d7917f45feb036a 100755
(executable)
--- a/
sst.py
+++ b/
sst.py
@@
-1607,16
+1607,16
@@
def deadkl(w, etype, mv):
# Killed some type of Klingon
game.state.galaxy[game.quadrant.i][game.quadrant.j].klingons -= 1
game.klhere -= 1
# Killed some type of Klingon
game.state.galaxy[game.quadrant.i][game.quadrant.j].klingons -= 1
game.klhere -= 1
- if type == 'C':
+ if
e
type == 'C':
game.state.kcmdr.remove(game.quadrant)
unschedule(FTBEAM)
if game.state.kcmdr:
schedule(FTBEAM, expran(1.0*game.incom/len(game.state.kcmdr)))
if is_scheduled(FCDBAS) and game.battle == game.quadrant:
unschedule(FCDBAS)
game.state.kcmdr.remove(game.quadrant)
unschedule(FTBEAM)
if game.state.kcmdr:
schedule(FTBEAM, expran(1.0*game.incom/len(game.state.kcmdr)))
if is_scheduled(FCDBAS) and game.battle == game.quadrant:
unschedule(FCDBAS)
- elif type == 'K':
+ elif
e
type == 'K':
game.state.remkl -= 1
game.state.remkl -= 1
- elif type == 'S':
+ elif
e
type == 'S':
game.state.nscrem -= 1
game.state.kscmdr.invalidate()
game.isatb = 0
game.state.nscrem -= 1
game.state.kscmdr.invalidate()
game.isatb = 0