summaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 08e39dd..d796e57 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -173,6 +173,19 @@ pub const BOMB_DAMAGES: [(Vec2d<i8>, i32); BOMB_DAMAGED_SPACES] = [
(Vec2d::new(0, 0), 20),
];
+pub const SNOWBALL_FREEZES_SPACES: usize = 9;
+pub const SNOWBALL_FREEZES: [Vec2d<i8>; SNOWBALL_FREEZES_SPACES] = [
+ Vec2d::new(-1, -1),
+ Vec2d::new(0, -1),
+ Vec2d::new(1, -1),
+ Vec2d::new(-1, 0),
+ Vec2d::new(0, 0),
+ Vec2d::new(1, 0),
+ Vec2d::new(-1, 1),
+ Vec2d::new(0, 1),
+ Vec2d::new(1, 1),
+];
+
pub const MISSED_ATTACK_SCORE: i32 = 2;
pub const ATTACK_SCORE_MULTIPLIER: i32 = 2;
pub const KILL_SCORE: i32 = 40;
@@ -190,3 +203,6 @@ pub const LAVA_DAMAGE: i32 = 3;
pub const LAVA_ROUND_START: usize = 100;
pub const LAVA_ROUND_END: usize = 350;
pub const MAX_ROUNDS: usize = 400;
+
+pub const FREEZE_DURATION: u8 = 5;
+pub const FREEZE_SCORE: i32 = 17;