Skip to content

Commit a51a419

Browse files
committed
Unit things2
1 parent e5dae51 commit a51a419

1 file changed

Lines changed: 31 additions & 5 deletions

File tree

src/exogenesis/content/ExoUnitTypes.java

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,6 +1832,35 @@ public static void load() {
18321832
y = 0f;
18331833
}}
18341834
);
1835+
weapons.add(new Weapon("test-weapon") {{
1836+
top = false;
1837+
layerOffset = -0.001f;
1838+
x = 0f;
1839+
y = 0f;
1840+
rotate = true;
1841+
mirror = false;
1842+
rotateSpeed = 1;
1843+
rotationLimit = 40;
1844+
parentizeEffects = true;
1845+
shootY = 52.5f;
1846+
shootX = -3f;
1847+
cooldownTime = 2;
1848+
recoil = 3f;
1849+
shake = 2f;
1850+
reload = 170;
1851+
continuous = true;
1852+
alwaysContinuous = true;
1853+
ejectEffect = Fx.casing4;
1854+
shootSound = Sounds.laserbeam;
1855+
bullet = new PointLaserBulletType() {{
1856+
maxRange = 530f;
1857+
lifetime = 200;
1858+
pierceCap = 3;
1859+
hitEffect = ExoFx.ullarTipHit;
1860+
hitColor = ExoPal.letoColor;
1861+
}};
1862+
}});
1863+
/*
18351864
weapons.add(new Weapon("flame weapon") {{
18361865
mirror = false;
18371866
x = 0;
@@ -1863,7 +1892,6 @@ public static void load() {
18631892
recoil = 0;
18641893
bullet = new EmpBulletType(){{
18651894
float rad = 50f;
1866-
18671895
scaleLife = true;
18681896
lightOpacity = 0.7f;
18691897
unitDamageScl = 0.8f;
@@ -1903,18 +1931,16 @@ public static void load() {
19031931
float offset = Mathf.randomSeed(e.id, 360f);
19041932
for(int i = 0; i < points; i++){
19051933
float angle = i* 360f / points + offset;
1906-
//for(int s : Mathf.zeroOne){
1907-
Drawf.tri(e.x + Angles.trnsx(angle, rad), e.y + Angles.trnsy(angle, rad), 3f, 10f * e.fout(), angle/* + s*180f*/);
1908-
//}
1934+
Drawf.tri(e.x + Angles.trnsx(angle, rad), e.y + Angles.trnsy(angle, rad), 3f, 10f * e.fout(), angle);
19091935
}
1910-
19111936
Fill.circle(e.x, e.y, 5f * e.fout());
19121937
color();
19131938
Fill.circle(e.x, e.y, 2f * e.fout());
19141939
Drawf.light(e.x, e.y, rad * 1.6f, ExoPal.empyreanIndigo, e.fout());
19151940
});
19161941
}};
19171942
}});
1943+
*/
19181944

19191945
}};
19201946
apprise = new VanstarUnitType("apprise") {{

0 commit comments

Comments
 (0)