Skip to content

Commit a300a53

Browse files
Merge branch 'master' into release-config
2 parents 3185085 + 8fffe88 commit a300a53

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

client/src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { schema } from 'battlecode-schema'
22

3-
export const GAME_VERSION = '2.0.1'
4-
export const SPEC_VERSION = '2.0.1'
3+
export const GAME_VERSION = '2.0.2'
4+
export const SPEC_VERSION = '2.0.2'
55
export const BATTLECODE_YEAR: number = 2024
66
export const MAP_SIZE_RANGE = {
77
min: 30,

engine/src/main/battlecode/common/GameConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class GameConstants {
99
/**
1010
* The current spec version the server compiles with.
1111
*/
12-
public static final String SPEC_VERSION = "2.0.1";
12+
public static final String SPEC_VERSION = "2.0.2";
1313

1414
// *********************************
1515
// ****** MAP CONSTANTS ************

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ public void triggerTrap(Trap trap, InternalRobot robot, boolean entered){
389389
switch(type){
390390
case STUN:
391391
for (InternalRobot rob : getAllRobotsWithinRadiusSquared(loc, type.enterRadius, trap.getTeam().opponent())){
392-
rob.setMovementCooldownTurns(40);
393-
rob.setActionCooldownTurns(40);
392+
rob.setMovementCooldownTurns(type.opponentCooldown);
393+
rob.setActionCooldownTurns(type.opponentCooldown);
394394
}
395395
break;
396396
case EXPLOSIVE:

specs/specs.md.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# **Formal specification**
1818

19-
_This is the formal specification of the Battlecode 2024 game._ Current version: *2.0.1*
19+
_This is the formal specification of the Battlecode 2024 game._ Current version: *2.0.2*
2020

2121
**Welcome to Battlecode 2024: Breadwars.**
2222

@@ -286,6 +286,10 @@
286286

287287
# **Appendix: Changelog**
288288

289+
- Version 2.0.2 (January 20, 2024)
290+
- Engine fixes
291+
- Corrected issue where stun trap was using old cooldown (40)
292+
289293
- Version 2.0.1 (January 17, 2024)
290294
- Engine fixes
291295
- getSpawnZoneTeam() will still return int for backwards compatability

0 commit comments

Comments
 (0)