projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pylint found a real bug in phaser damage allocation vs. multiple targets.
[super-star-trek.git]
/
sst.py
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)