Fix Drain Life

This commit is contained in:
tool4EvEr
2021-05-27 23:32:33 +02:00
parent ee05f34963
commit 3d0009f23e

View File

@@ -1079,7 +1079,7 @@ public class DamageDealAi extends DamageAiBase {
saTgt.resetTargets();
saTgt.getTargets().add(tgtCreature != null && dmg < opponent.getLife() ? tgtCreature : opponent);
sa.setXManaCostPaid(dmg);
saTgt.setXManaCostPaid(dmg);
return true;
}