Major Infinite Fortune exploit
Butternubbs opened this issue · 13 comments
Modpack Version
1.4.1
Describe your issue.
Apotheosis anvils function strangely with the 'Consistent Luck' Astral Sorcery perk: When holding the anvil, an extra level of Fortune is applied to it, and that enchantment holds when placing the anvil down. If mined and repeated, the anvil's Fortune enchant can stack infinitely. Moving the enchant to a book with the Pressure Chamber allows the player to obtain an infinite Fortune pickaxe, etc. Also works with other enchants such as Unbreaking, Sweeping Edge, etc.
Crash Report
No response
Latest Log
https://gist.github.com/Butternubbs/474e7867c51a3bcc4d2b89909d54cf94
Have you modified the modpack?
No
User Modifications
No response
Did the issue happen in singleplayer or on a server?
Singleplayer
Discord Username
Butternubbs#9827
Hmm.. I guess it's actually working as intended :P I think the only solution would be to blacklist anvils, if that's possible.
Edit: Not possible 😅
Looks like Shadows can fix this more cleanly from their end. They'll be releasing a fix that'll remove invalid enchants from anvils on placement.
Apotheosis-1.16.5-4.8.9A0 fixes this
Not sure how that works since drones don't get your perks.
Regardless, the patched apotheosis strips invalid enchants when the anvil is placed. Since fortune isn't valid for anvils, it just gets removed.
I'm sorry it took so long to comment this, I didn't have internet for the last 30 hours. You can do the same enchant dupe with pnc drones.
Drones are enchantable, and so they get the Astral perk enchants when held in your hand the same way an anvil does. When put down they keep the enchant just like the anvils did
Sounds like PNC needs to apply the same fix - bleh. That change is here, for reference Shadows-of-Fire/Apotheosis@d80db9c#diff-935f61a18acf17035df523bcde818dc5a090249192234993045ba5d5a63a2495R91
Specifically they'll have to do the filtering at this line https://github.com/TeamPneumatic/pnc-repressurized/blob/c792edc19674b4f3b85fd3b95247c3b6683be67c/src/main/java/me/desht/pneumaticcraft/common/entity/living/EntityDrone.java#L283
A port of PneumaticCraft to MC1.12+. Contribute to TeamPneumatic/pnc-repressurized development by creating an account on GitHub.