NeoplasmUnitType
This commit is contained in:
@@ -2422,10 +2422,9 @@ public class UnitTypes implements ContentList{
|
|||||||
//endregion
|
//endregion
|
||||||
//region neoplasm
|
//region neoplasm
|
||||||
|
|
||||||
scuttler = new UnitType("scuttler"){{
|
scuttler = new NeoplasmUnitType("scuttler"){{
|
||||||
health = 20000;
|
health = 20000;
|
||||||
armor = 17;
|
armor = 17;
|
||||||
outlineColor = Pal.neoplasmOutline;
|
|
||||||
hitSize = 48f;
|
hitSize = 48f;
|
||||||
omniMovement = false;
|
omniMovement = false;
|
||||||
rotateSpeed = 1.7f;
|
rotateSpeed = 1.7f;
|
||||||
@@ -2438,8 +2437,6 @@ public class UnitTypes implements ContentList{
|
|||||||
segmentScl = 4f;
|
segmentScl = 4f;
|
||||||
segmentPhase = 5f;
|
segmentPhase = 5f;
|
||||||
speed = 1f;
|
speed = 1f;
|
||||||
|
|
||||||
immunities.addAll(StatusEffects.burning, StatusEffects.melting);
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
//endregion
|
//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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -11,4 +11,4 @@ android.useAndroidX=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
http.socketTimeout=80000
|
http.socketTimeout=80000
|
||||||
http.connectionTimeout=80000
|
http.connectionTimeout=80000
|
||||||
archash=6f56e0a3a33c0c7752c8aff868df035cf242e7aa
|
archash=3400de3323150ba91c94fc07a6d4ca1958f4d943
|
||||||
|
|||||||
Reference in New Issue
Block a user