NeoplasmUnitType
This commit is contained in:
@@ -2422,10 +2422,9 @@ public class UnitTypes implements ContentList{
|
||||
//endregion
|
||||
//region neoplasm
|
||||
|
||||
scuttler = new UnitType("scuttler"){{
|
||||
scuttler = new NeoplasmUnitType("scuttler"){{
|
||||
health = 20000;
|
||||
armor = 17;
|
||||
outlineColor = Pal.neoplasmOutline;
|
||||
hitSize = 48f;
|
||||
omniMovement = false;
|
||||
rotateSpeed = 1.7f;
|
||||
@@ -2438,8 +2437,6 @@ public class UnitTypes implements ContentList{
|
||||
segmentScl = 4f;
|
||||
segmentPhase = 5f;
|
||||
speed = 1f;
|
||||
|
||||
immunities.addAll(StatusEffects.burning, StatusEffects.melting);
|
||||
}};
|
||||
|
||||
//endregion
|
||||
|
||||
19
core/src/mindustry/type/NeoplasmUnitType.java
Normal file
19
core/src/mindustry/type/NeoplasmUnitType.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package mindustry.type;
|
||||
|
||||
import mindustry.content.*;
|
||||
import mindustry.graphics.*;
|
||||
|
||||
/** This is just a preset. Contains no new behavior. */
|
||||
public class NeoplasmUnitType extends UnitType{
|
||||
|
||||
public NeoplasmUnitType(String name){
|
||||
super(name);
|
||||
|
||||
outlineColor = Pal.neoplasmOutline;
|
||||
immunities.addAll(StatusEffects.burning, StatusEffects.melting);
|
||||
|
||||
//TODO
|
||||
//- liquid regen ability
|
||||
//- liquid/neoplasm explode ability
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user