Bloodworm Feral Bobber uses the const variable instead of hardcoded value

This commit is contained in:
CongratsIsTrash committed 2026-02-21 22:53:05 -05:00
1 parent a141da250a
commit 5251b94cd8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.SummonItems
{
public new string LocalizationCategory => "Items.SummonItems";
private const int SpoofBaitNumber = 4444;
public const int SpoofBaitNumber = 4444;
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 3;
+1 -1
View File
@@ -3333,7 +3333,7 @@ namespace CalamityMod.Projectiles
{
projectile.ai[0] = 1;
projectile.localAI[1] = NPCType<OldDuke>() * -1;
baitPower = 4444; // Manually set the power to the displayed value
baitPower = BloodwormItem.SpoofBaitNumber; // Manually set the power to the displayed value
ReelTheBobberChecks();
}
else if (baitPower > 75)