PC [BUG] Fishing Treasure & Broken Trident/Neptune's Glaive

margotbean

Sodbuster
Mac v1.5.4
Singleplayer
English
New game started after v1.5 released

The code in openTreasureMenuEndFunction seems to indicate that only one Broken Trident and Neptune's Glaive should be allowed from fishing treasure chests, but a user on the wiki reported fishing up multiple Broken Tridents.

Screenshot:
BrokenTridentBug.png

Relevant code:
C#:
                if (Game1.random.NextDouble() < 0.05 * (double)luckModifier && !lastUser.specialItems.Contains(14))
                {
                    treasures.Add(new MeleeWeapon(14) //Neptune's Glaive
                    {
                        specialItem = true
                    });
                }
                if (Game1.random.NextDouble() < 0.05 * (double)luckModifier && !lastUser.specialItems.Contains(51))
                {
                    treasures.Add(new MeleeWeapon(51) //Broken Trident
                    {
                        specialItem = true
                    });
                }
 
Last edited by a moderator:
Top