Update StatusEffects.java (#8867)
This commit is contained in:
@@ -11,7 +11,7 @@ import mindustry.type.*;
|
|||||||
import static mindustry.Vars.*;
|
import static mindustry.Vars.*;
|
||||||
|
|
||||||
public class StatusEffects{
|
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(){
|
public static void load(){
|
||||||
|
|
||||||
@@ -60,8 +60,17 @@ public class StatusEffects{
|
|||||||
slow = new StatusEffect("slow"){{
|
slow = new StatusEffect("slow"){{
|
||||||
color = Pal.lightishGray;
|
color = Pal.lightishGray;
|
||||||
speedMultiplier = 0.4f;
|
speedMultiplier = 0.4f;
|
||||||
|
|
||||||
|
init(() -> opposite(fast));
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
fast = new StatusEffect("fast"){{
|
||||||
|
color = Pal.boostTo;
|
||||||
|
speedMultiplier = 1.6f;
|
||||||
|
|
||||||
|
init(() -> opposite(slow));
|
||||||
|
}};
|
||||||
|
|
||||||
wet = new StatusEffect("wet"){{
|
wet = new StatusEffect("wet"){{
|
||||||
color = Color.royal;
|
color = Color.royal;
|
||||||
speedMultiplier = 0.94f;
|
speedMultiplier = 0.94f;
|
||||||
|
|||||||
Reference in New Issue
Block a user