Skip to content

Commit 43d8c13

Browse files
committed
Fix robots healing from being thrown
1 parent 5a8deb6 commit 43d8c13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/src/main/battlecode/world/InternalRobot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ public void hitGround() {
743743

744744
public void hitTarget(boolean isSecondMove) {
745745
int damage = GameConstants.THROW_DAMAGE
746-
- GameConstants.THROW_DAMAGE_PER_TILE * (2 * this.remainingThrowDuration + (isSecondMove ? 0 : 1));
746+
+ GameConstants.THROW_DAMAGE_PER_TILE * (2 * this.remainingThrowDuration + (isSecondMove ? 0 : 1));
747747

748748
if (this.gameWorld.getRobot(this.getLocation().add(this.thrownDir)) != null) {
749749
InternalRobot robot = this.gameWorld.getRobot(this.getLocation().add(this.thrownDir));

0 commit comments

Comments
 (0)