Wrap Immunities in unit stats (#6946)
* Don't display move effect ability in stats * Wrap the immunities list
This commit is contained in:
@@ -6,6 +6,8 @@ import mindustry.gen.*;
|
||||
import mindustry.type.*;
|
||||
|
||||
public abstract class Ability implements Cloneable{
|
||||
/** If false, this ability does not show in unit stats. */
|
||||
public boolean display = true;
|
||||
//the one and only data variable that is synced.
|
||||
public float data;
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ public class MoveEffectAbility extends Ability{
|
||||
this.color = color;
|
||||
this.effect = effect;
|
||||
this.interval = interval;
|
||||
display = false;
|
||||
}
|
||||
|
||||
public MoveEffectAbility(){
|
||||
|
||||
Reference in New Issue
Block a user