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
(parent:
45040ca
)
pylint found a real bug in phaser damage allocation vs. multiple targets.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 20 Feb 2012 01:06:36 +0000
(20:06 -0500)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 20 Feb 2012 01:06:36 +0000
(20:06 -0500)
sst.py
patch
|
blob
|
history
diff --git
a/sst.py
b/sst.py
index 096954711b783ea483b016be6ae9d0ff6a0b98b1..742e104dbc77a726455b33242193ea97a4d41803 100755
(executable)
--- a/
sst.py
+++ b/
sst.py
@@
-1660,10
+1660,9
@@
def checkshctrl(rpow):
def hittem(hits):
"Register a phaser hit on Klingons and Romulans."
- kk = 0
w = Coord()
skip(1)
- for (k, wham) in enumerate(hits):
+ for (k
k
, wham) in enumerate(hits):
if wham==0:
continue
dustfac = randreal(0.9, 1.0)