Skip to content

Commit

Permalink
Improved earthBullet
Browse files Browse the repository at this point in the history
  • Loading branch information
Melchizedek6809 committed Jan 20, 2025
1 parent 6edbc7c commit 17e579b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/runes/earthBullet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class EarthBulletEntity extends Entity {
const dy = goalY - this.y;
const dz = goalZ - this.z;
const dd = dx * dx + dy * dy + dz * dz;
const vmax = dd * 0.02;
const vmax = dd * 0.2;

const dn = Math.max(Math.abs(dx), Math.abs(dy), Math.abs(dz));
this.vx += (dx / dn) * 0.02;
Expand Down

0 comments on commit 17e579b

Please sign in to comment.