v1.2.2: fixed transmuting staff removing its charger buff
This commit is contained in:
parent
9eb2855d1b
commit
d580f0b9fe
|
@ -243,7 +243,11 @@ public class MagesStaff extends MeleeWeapon {
|
||||||
this.wand = wand;
|
this.wand = wand;
|
||||||
updateWand(false);
|
updateWand(false);
|
||||||
wand.curCharges = Math.min(wand.maxCharges, wand.curCharges+oldStaffcharges);
|
wand.curCharges = Math.min(wand.maxCharges, wand.curCharges+oldStaffcharges);
|
||||||
if (owner != null) wand.charge(owner);
|
if (owner != null){
|
||||||
|
applyWandChargeBuff(owner);
|
||||||
|
} else if (Dungeon.hero.belongings.contains(this)){
|
||||||
|
applyWandChargeBuff(Dungeon.hero);
|
||||||
|
}
|
||||||
|
|
||||||
//This is necessary to reset any particles.
|
//This is necessary to reset any particles.
|
||||||
//FIXME this is gross, should implement a better way to fully reset quickslot visuals
|
//FIXME this is gross, should implement a better way to fully reset quickslot visuals
|
||||||
|
|
Loading…
Reference in New Issue
Block a user