v3.2.5: fixed thrown weapon merging not accounting for ID ready

This commit is contained in:
Evan Debenham
2025-09-18 14:21:42 -04:00
parent 7d10b6051a
commit 07c4d2f4ca

View File

@@ -539,9 +539,13 @@ abstract public class MissileWeapon extends Weapon {
durability = MAX_DURABILITY;
}
masteryPotionBonus = masteryPotionBonus || ((MissileWeapon) other).masteryPotionBonus;
levelKnown = levelKnown || other.levelKnown;
cursedKnown = cursedKnown || other.cursedKnown;
if (((Weapon)other).readyToIdentify()){
setIDReady();
}
masteryPotionBonus = masteryPotionBonus || ((MissileWeapon) other).masteryPotionBonus;
enchantHardened = enchantHardened || ((MissileWeapon) other).enchantHardened;
//if other has a curse/enchant status that's a higher priority, copy it. in the following order: