Skip to content

Commit

Permalink
add judge if ship is in ndock
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayaphis committed Sep 11, 2015
1 parent 6880d84 commit 3af45f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports =
if fleet[i] isnt -1
if _ships[fleet[i]].api_nowhp isnt _ships[fleet[i]].api_maxhp
if (_ships[fleet[i]].api_nowhp*4 / _ships[fleet[i]].api_maxhp) > 2 ##
if _ships[]
if not fleet[i] in window._ndocks
return true
return false

Expand Down

0 comments on commit 3af45f2

Please sign in to comment.