Skip to content

Fix Blood Thorn thorns being rejected by Bouncer - #3329

Open
magaflaca wants to merge 1 commit into
Pryaxis:general-develfrom
magaflaca:fix/blood-thorn-scale
Open

magaflaca wants to merge 1 commit into
Pryaxis:general-develfrom
magaflaca:fix/blood-thorn-scale

Conversation

@magaflaca

Copy link
Copy Markdown

Problem

Someone report that the Blood Thorn produces far fewer thorns in multiplayer on TShock than in single player.

Terraria spawns each Sharp Tears projectile (756) in Player.ItemCheck_Shoot with

Projectile.NewProjectile(..., projToShoot, Damage, KnockBack, i, 0f, Main.rand.NextFloat() * 0.5f + 0.8f);

so ai[1] is uniformly distributed in [0.8, 1.3). Projectile_MaxValuesAI2 in Bouncer only allows up to 1 for 756, so every thorn whose scale is above 1 is removed with "Bouncer / OnNewProjectile rejected from bouncer modified AI". That accounts for more than half of all thorns...

Fix

Raise the Sharp Tears maximum in Projectile_MaxValuesAI2 from 1 to 1.3f.

Vanilla Terraria

1.-.Vanilla.mp4

TShock without the fix

3.-.TShock.without.the.fix.mp4

TShock with the fix

2.-.TShock.with.the.fix.mp4

Sharp Tears spawn with ai[1] in [0.8, 1.3), but Bouncer capped it at 1.
@greptile-apps

greptile-apps Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This focused change appears safe to merge.

Summary

Raises the maximum allowed ai[1] for Blood Thorn's Sharp Tears projectile from 1 to 1.3f.

  • Blood Thorn Sharp Tears with larger scales pass the Bouncer check.

No actionable issues found. No build or runtime tests were run.

Reviews (1) · Last reviewed commit: "Fix Blood Thorn thorns being rejected by..." · Reviewed by Greptile

@lost-werewolf lost-werewolf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants