From 3330c638ae9a5c985f88834c502e1fe1904affe5 Mon Sep 17 00:00:00 2001 From: gregchan550 <86044792+gregchan550@users.noreply.github.com> Date: Tue, 17 Oct 2023 11:49:43 +1000 Subject: [PATCH] changed melee attack range to 0 --- .../com/csse3200/game/components/tasks/MobTask/MobTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/src/main/com/csse3200/game/components/tasks/MobTask/MobTask.java b/source/core/src/main/com/csse3200/game/components/tasks/MobTask/MobTask.java index 9eebbf1d..38a73799 100644 --- a/source/core/src/main/com/csse3200/game/components/tasks/MobTask/MobTask.java +++ b/source/core/src/main/com/csse3200/game/components/tasks/MobTask/MobTask.java @@ -32,7 +32,7 @@ public class MobTask extends DefaultTask implements PriorityTask { private static final int MELEE_DAMAGE = 10; private static final long MELEE_ATTACK_SPEED = 2000; private static final long RANGE_ATTACK_SPEED = 5000; - private static final float MELEE_ATTACK_RANGE = 0.2f; + private static final float MELEE_ATTACK_RANGE = 0f; // Private variables private final MobType mobType;