Skip to content

Commit 4434593

Browse files
committed
aimTile
1 parent 205ba61 commit 4434593

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/progressed/content/bullets/PayloadBullets.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ public static void load(){
326326
splashDamageRadius = 4f * tilesize;
327327
buildingDamageMultiplier = 0.5f;
328328

329-
homingPower = 0.5f;
330-
homingRange = 30f * 8f;
329+
homingPower = 1f;
330+
homingRange = 64f * 8f;
331331
angleDriftDrag = 0.01f;
332332

333333
hitShake = 5f;

src/progressed/entities/bullet/pseudo3d/ArcBulletType.java

+3
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,9 @@ public Bullet beginBulletCreate(Entityc owner, Team team, float x, float y, floa
468468
//bullet.aimTile = world.tileWorld(aimX, aimY);
469469
bullet.aimX = aimX;
470470
bullet.aimY = aimY;
471+
if(!(aimX == -1f && aimY == -1f)){
472+
bullet.aimTile = world.tileWorld(aimX, aimY);
473+
}
471474
bullet.damage = (damage < 0 ? this.damage : damage) * bullet.damageMultiplier();
472475
return bullet;
473476
}

0 commit comments

Comments
 (0)