v0.9.4: removed an unnecessary reference to curUser in transfusion
This commit is contained in:
parent
2dc45d7841
commit
c84663d3fd
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user