Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayaphis committed Sep 14, 2015
1 parent 3af45f2 commit f6311ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ module.exports =
for i in [0..akashiCapacity]
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 not fleet[i] in window._ndocks
if (_ships[fleet[i]].api_nowhp*2 > _ships[fleet[i]].api_maxhp) ##
if not (fleet[i] in window._ndocks)
return true
return false

Expand Down

0 comments on commit f6311ef

Please sign in to comment.