Skip to content

Commit

Permalink
aimTile
Browse files Browse the repository at this point in the history
  • Loading branch information
MEEPofFaith committed Oct 25, 2024
1 parent 205ba61 commit 4434593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/progressed/content/bullets/PayloadBullets.java
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ public static void load(){
splashDamageRadius = 4f * tilesize;
buildingDamageMultiplier = 0.5f;

homingPower = 0.5f;
homingRange = 30f * 8f;
homingPower = 1f;
homingRange = 64f * 8f;
angleDriftDrag = 0.01f;

hitShake = 5f;
Expand Down
3 changes: 3 additions & 0 deletions src/progressed/entities/bullet/pseudo3d/ArcBulletType.java
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,9 @@ public Bullet beginBulletCreate(Entityc owner, Team team, float x, float y, floa
//bullet.aimTile = world.tileWorld(aimX, aimY);
bullet.aimX = aimX;
bullet.aimY = aimY;
if(!(aimX == -1f && aimY == -1f)){
bullet.aimTile = world.tileWorld(aimX, aimY);
}
bullet.damage = (damage < 0 ? this.damage : damage) * bullet.damageMultiplier();
return bullet;
}
Expand Down

0 comments on commit 4434593

Please sign in to comment.