Bugfixes / Testing reaper sprite

This commit is contained in:
Anuken
2020-04-10 12:55:58 -04:00
parent 00f3353976
commit 2395bc9308
9 changed files with 847 additions and 803 deletions

View File

@ -7,15 +7,16 @@ import mindustry.gen.*;
import mindustry.type.*;
public class UnitTypes implements ContentList{
//TODO reimplement
//TODO reimplement - DO NOT USE
public static UnitType
ghoul, revenant, lich, reaper,
ghoul, revenant, lich,
crawler, titan, fortress, eruptor, chaosArray, eradicator;
public static @EntityDef({Unitc.class, Legsc.class}) UnitType dagger;
public static @EntityDef({Unitc.class, WaterMovec.class}) UnitType vanguard;
public static @EntityDef({Unitc.class, Minerc.class}) UnitType draug;
public static @EntityDef({Unitc.class}) UnitType wraith;
public static @EntityDef({Unitc.class}) UnitType reaper;
public static @EntityDef({Unitc.class}) UnitType spirit;
public static @EntityDef({Unitc.class, Builderc.class}) UnitType phantom;
@ -61,6 +62,27 @@ public class UnitTypes implements ContentList{
}});
}};
reaper = new UnitType("reaper"){{
speed = 1f;
accel = 0.08f;
drag = 0f;
mass = 2f;
flying = true;
health = 75000;
engineOffset = 40;
engineSize = 7.3f;
weapons.add(new Weapon(){{
y = 1.5f;
reload = 28f;
alternate = true;
ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.standardCopper;
shootSound = Sounds.shoot;
}});
}};
vanguard = new UnitType("vanguard"){{
speed = 1.3f;
drag = 0.1f;