Skip to content

Commit

Permalink
Merge branch 'master' into release-config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheApplePieGod committed Jan 26, 2024
2 parents 2472926 + de8949e commit 7ecc8ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { schema } from 'battlecode-schema'

export const GAME_VERSION = '3.0.0'
export const SPEC_VERSION = '3.0.0'
export const GAME_VERSION = '3.0.1'
export const SPEC_VERSION = '3.0.1'
export const BATTLECODE_YEAR: number = 2024
export const MAP_SIZE_RANGE = {
min: 30,
Expand Down
2 changes: 1 addition & 1 deletion engine/src/main/battlecode/common/GameConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class GameConstants {
/**
* The current spec version the server compiles with.
*/
public static final String SPEC_VERSION = "3.0.0";
public static final String SPEC_VERSION = "3.0.1";

// *********************************
// ****** MAP CONSTANTS ************
Expand Down
2 changes: 1 addition & 1 deletion engine/src/main/battlecode/world/InternalRobot.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public void addActionCooldownTurns(int numActionCooldownToAdd) {
public void addMovementCooldownTurns() {
if (hasFlag() && this.gameWorld.getTeamInfo().getGlobalUpgrades(team)[1]) {
setMovementCooldownTurns(this.movementCooldownTurns + GameConstants.FLAG_MOVEMENT_COOLDOWN
- GlobalUpgrade.CAPTURING.movementDelayChange);
+ GlobalUpgrade.CAPTURING.movementDelayChange);
} else {
setMovementCooldownTurns(this.movementCooldownTurns
+ (hasFlag() ? GameConstants.FLAG_MOVEMENT_COOLDOWN : GameConstants.MOVEMENT_COOLDOWN));
Expand Down
6 changes: 5 additions & 1 deletion specs/specs.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# **Formal specification**

_This is the formal specification of the Battlecode 2024 game._ Current version: *3.0.0*
_This is the formal specification of the Battlecode 2024 game._ Current version: *3.0.1*

**Welcome to Battlecode 2024: Breadwars.**

Expand Down Expand Up @@ -286,6 +286,10 @@

# **Appendix: Changelog**

- Version 3.0.1 (January 26, 2024)
- Bug fixes
- Fix issue with capturing upgrade movement cooldown

- Version 3.0.0 (January 24, 2024)
- Balance changes
- Explosive trap cost 250 -> 200
Expand Down

0 comments on commit 7ecc8ea

Please sign in to comment.