Skip to content

Commit 8f2d89c

Browse files
committed
slight tweaks (oh god, it needs some work)
1 parent ae4bd34 commit 8f2d89c

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

main/assets/sounds/tankBang.ogg

45 KB
Binary file not shown.

main/src/omaloon/content/OlUnitTypes.java

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public void update(Unit unit, WeaponMount mount) {
415415
lumen = new GlasmoreUnitType("lumen"){{
416416
constructor = UnitEntity::create;
417417

418-
hitSize = 10f;
418+
hitSize = 6f;
419419

420420
speed = 1.7f;
421421
accel = 0.08f;
@@ -426,8 +426,7 @@ public void update(Unit unit, WeaponMount mount) {
426426
health = 70;
427427

428428
range = 0.1f;
429-
targetAir = false;
430-
outlines = false;
429+
targetAir = outlines = faceTarget = false;
431430

432431
// deathSound = OlSounds.tankBang;
433432
// weapons.add(new FilterWeapon(){{
@@ -619,15 +618,12 @@ public void update(Unit unit, WeaponMount mount) {
619618
weapons.add(new Weapon(){{
620619
mirror = false;
621620
bullet = new BulletType(){{
622-
killShooter = instantDisappear = true;
621+
shootCone = 360f;
622+
shootSound = Sounds.none;
623+
deathSound = OlSounds.tankBang;
624+
killShooter = instantDisappear = shootOnDeath = true;
623625
hitEffect = shootEffect = smokeEffect = despawnEffect = Fx.none;
624-
}
625-
@Override
626-
public void init(Bullet b) {
627-
super.init(b);
628-
if (b.owner() instanceof Unit u) u.elevation = 0;
629-
}
630-
};
626+
}};
631627
}});
632628

633629
parts.add(new RegionPart("-sprayer") {{

0 commit comments

Comments
 (0)