v0.9.4: removed an unnecessary reference to curUser in transfusion

This commit is contained in:
Evan Debenham 2021-08-11 14:47:42 -04:00
parent 2dc45d7841
commit c84663d3fd

View File

@ -141,7 +141,7 @@ public class WandOfTransfusion extends Wand {
if (defender.buff(Charm.class) != null && defender.buff(Charm.class).object == attacker.id()){
//grants a free use of the staff and shields self
freeCharge = true;
Buff.affect(curUser, Barrier.class).setShield(2*(5 + buffedLvl()));
Buff.affect(attacker, Barrier.class).setShield(2*(5 + buffedLvl()));
GLog.p( Messages.get(this, "charged") );
attacker.sprite.emitter().burst(BloodParticle.BURST, 20);
}