Skip to content

Commit

Permalink
- tune nuclear
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry committed Dec 16, 2017
1 parent e2df807 commit 9ec70c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/MyStrategy.java
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ private boolean tryPickNuclearTarget() {
if (me.getRemainingNuclearStrikeCooldownTicks() == 0 && scheduledStrike == null) {
int remainingHp = um.enemyStats.remainingHp;

int minNuclearDmg = world.getTickIndex() > 8_000 ? (int) Math.min(getMinNuclearDmg(), remainingHp * 0.6) : getMinNuclearDmg();
int minNuclearDmg = world.getTickIndex() > 5_000 ? (int) Math.min(getMinNuclearDmg(), remainingHp * 0.35) : getMinNuclearDmg();

NuclearStrike max = NuclearStrike.getMaxDmg(this, minNuclearDmg);

Expand Down

0 comments on commit 9ec70c1

Please sign in to comment.