Skip to content

Commit

Permalink
fix StatusEffect#isHarmful
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtomi committed Nov 30, 2022
1 parent 305c999 commit a86fc6e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/com/vamk/tbg/effect/StatusEffect.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@ 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 */

/**
* 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;
Expand Down

0 comments on commit a86fc6e

Please sign in to comment.