Skip to content

Commit

Permalink
Update StatusEffects.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkness6030 authored Jul 30, 2023
1 parent cd461b1 commit d9df136
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion core/src/mindustry/content/StatusEffects.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import static mindustry.Vars.*;

public class StatusEffects{
public static StatusEffect none, burning, freezing, unmoving, slow, wet, muddy, melting, sapped, tarred, overdrive, overclock, shielded, shocked, blasted, corroded, boss, sporeSlowed, disarmed, electrified, invincible;
public static StatusEffect none, burning, freezing, unmoving, slow, fast, wet, muddy, melting, sapped, tarred, overdrive, overclock, shielded, shocked, blasted, corroded, boss, sporeSlowed, disarmed, electrified, invincible;

public static void load(){

Expand Down Expand Up @@ -60,8 +60,17 @@ public static void load(){
slow = new StatusEffect("slow"){{
color = Pal.lightishGray;
speedMultiplier = 0.4f;

init(() -> opposite(fast));
}};

fast = new StatusEffect("fast"){{
color = Pal.boostTo;
speedMultiplier = 1.6f;

init(() -> opposite(slow));
}};

wet = new StatusEffect("wet"){{
color = Color.royal;
speedMultiplier = 0.94f;
Expand Down

0 comments on commit d9df136

Please sign in to comment.