v3.2.5: fixed thrown weapon merging not accounting for ID ready
This commit is contained in:
@@ -539,9 +539,13 @@ abstract public class MissileWeapon extends Weapon {
|
|||||||
durability = MAX_DURABILITY;
|
durability = MAX_DURABILITY;
|
||||||
}
|
}
|
||||||
|
|
||||||
masteryPotionBonus = masteryPotionBonus || ((MissileWeapon) other).masteryPotionBonus;
|
|
||||||
levelKnown = levelKnown || other.levelKnown;
|
levelKnown = levelKnown || other.levelKnown;
|
||||||
cursedKnown = cursedKnown || other.cursedKnown;
|
cursedKnown = cursedKnown || other.cursedKnown;
|
||||||
|
if (((Weapon)other).readyToIdentify()){
|
||||||
|
setIDReady();
|
||||||
|
}
|
||||||
|
|
||||||
|
masteryPotionBonus = masteryPotionBonus || ((MissileWeapon) other).masteryPotionBonus;
|
||||||
enchantHardened = enchantHardened || ((MissileWeapon) other).enchantHardened;
|
enchantHardened = enchantHardened || ((MissileWeapon) other).enchantHardened;
|
||||||
|
|
||||||
//if other has a curse/enchant status that's a higher priority, copy it. in the following order:
|
//if other has a curse/enchant status that's a higher priority, copy it. in the following order:
|
||||||
|
|||||||
Reference in New Issue
Block a user