Skip to content

Commit

Permalink
modify velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
xNatsuri committed Jan 4, 2025
1 parent deeaac4 commit ed84feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/item/crossbow.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ func (c Crossbow) ReleaseCharge(releaser Releaser, tx *world.Tx, ctx *UseContext
createFirework := tx.World().EntityRegistry().Config().Firework
fireworkEntity := createFirework(world.EntitySpawnOpts{
Position: torsoPosition(releaser),
Velocity: dirVec.Mul(0.1),
Velocity: dirVec.Mul(0.8),
Rotation: rot,
}, firework, releaser, 1.15, 0, false)
}, firework, releaser, 1.0, 0, false)
tx.AddEntity(fireworkEntity)
ctx.DamageItem(3)
} else {
Expand Down

0 comments on commit ed84feb

Please sign in to comment.