Bloodworm Feral Bobber uses the const variable instead of hardcoded value
This commit is contained in:
1 parent
a141da250a
commit
5251b94cd8
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user