From a86fc6e8a2e3d2d0329a62a9079d873b7d5f4843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20=C3=81d=C3=A1m?= Date: Wed, 30 Nov 2022 14:49:47 +0200 Subject: [PATCH] fix StatusEffect#isHarmful --- src/main/java/com/vamk/tbg/effect/StatusEffect.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/vamk/tbg/effect/StatusEffect.java b/src/main/java/com/vamk/tbg/effect/StatusEffect.java index a73e6a1..4ba193e 100644 --- a/src/main/java/com/vamk/tbg/effect/StatusEffect.java +++ b/src/main/java/com/vamk/tbg/effect/StatusEffect.java @@ -8,16 +8,16 @@ public enum StatusEffect { * Bleeding entities lose a chunk of their HP * every turn. */ - BLEEDING(3, false), + BLEEDING(3, true), /** * Confused entities attack their teammates * instead of their enemies. */ - CONFUSED(2, false), + CONFUSED(2, true), /** * Frozen entities lose a turn. */ - FROZEN(2, false), + FROZEN(2, true), /* Positive effects */ @@ -25,16 +25,16 @@ public enum StatusEffect { * Caffeinated entities can attack twice in * a single round. */ - CAFFEINATED(1, true), + CAFFEINATED(1, false), /** * Entities affected by lifesteal can gain some HP * if they deal damage to hostile entities. */ - LIFESTEAL(2, true), + LIFESTEAL(2, false), /** * Entities will regenerate some HP each round. */ - REGENERATION(3, true), + REGENERATION(3, false), ; public static final int MAX_ROUNDS = 5;