mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
fix for issue 22 + fix for planeswalker damage redirection
This commit is contained in:
parent
c90193a4eb
commit
9c3ff863e8
49 changed files with 636 additions and 182 deletions
|
|
@ -440,7 +440,7 @@ public class HumanPlayer extends PlayerImpl<HumanPlayer> {
|
|||
int damageAmount = getAmount(0, remainingDamage, "Select amount", game);
|
||||
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
||||
if (permanent != null) {
|
||||
permanent.damage(damageAmount, sourceId, game, true);
|
||||
permanent.damage(damageAmount, sourceId, game, true, false);
|
||||
remainingDamage -= damageAmount;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue