forked from External/mage
* Liliana, Defiant Necromancer - Fixed target bug of -X ability.
This commit is contained in:
parent
acf5df7f94
commit
270ffcb88a
4 changed files with 32 additions and 27 deletions
|
|
@ -241,12 +241,20 @@ public class PermanentCard extends PermanentImpl {
|
|||
|
||||
@Override
|
||||
public void adjustTargets(Ability ability, Game game) {
|
||||
card.adjustTargets(ability, game);
|
||||
if (this.isTransformed()) {
|
||||
card.getSecondCardFace().adjustTargets(ability, game);
|
||||
} else {
|
||||
card.adjustTargets(ability, game);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void adjustCosts(Ability ability, Game game) {
|
||||
card.adjustCosts(ability, game);
|
||||
if (this.isTransformed()) {
|
||||
card.getSecondCardFace().adjustCosts(ability, game);
|
||||
} else {
|
||||
card.adjustCosts(ability, game);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue