v0.9.4: fixed wands in the mage's staff losing 1 charge on load
This commit is contained in:
@@ -495,14 +495,14 @@ public abstract class Wand extends Item {
|
|||||||
super.restoreFromBundle( bundle );
|
super.restoreFromBundle( bundle );
|
||||||
usesLeftToID = bundle.getInt( USES_LEFT_TO_ID );
|
usesLeftToID = bundle.getInt( USES_LEFT_TO_ID );
|
||||||
availableUsesToID = bundle.getInt( AVAILABLE_USES );
|
availableUsesToID = bundle.getInt( AVAILABLE_USES );
|
||||||
|
|
||||||
curCharges = bundle.getInt( CUR_CHARGES );
|
|
||||||
curChargeKnown = bundle.getBoolean( CUR_CHARGE_KNOWN );
|
|
||||||
partialCharge = bundle.getFloat( PARTIALCHARGE );
|
|
||||||
curseInfusionBonus = bundle.getBoolean(CURSE_INFUSION_BONUS);
|
curseInfusionBonus = bundle.getBoolean(CURSE_INFUSION_BONUS);
|
||||||
resinBonus = bundle.getInt(RESIN_BONUS);
|
resinBonus = bundle.getInt(RESIN_BONUS);
|
||||||
|
|
||||||
updateLevel();
|
updateLevel();
|
||||||
|
|
||||||
|
curCharges = bundle.getInt( CUR_CHARGES );
|
||||||
|
curChargeKnown = bundle.getBoolean( CUR_CHARGE_KNOWN );
|
||||||
|
partialCharge = bundle.getFloat( PARTIALCHARGE );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user