mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
Update SaddleTargetMountEffect and GuidelightMatrix
changed SaddleTargetMountEffect apply to pass first target changed GuidelightMatrix to not use composite cost
This commit is contained in:
parent
b9c1bd09a8
commit
9a0cfaa5e7
2 changed files with 3 additions and 8 deletions
|
|
@ -34,11 +34,7 @@ public class SaddleTargetMountEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent targetMount = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||
if (targetMount == null || !targetMount.hasSubtype(SubType.MOUNT, game)) {
|
||||
return false;
|
||||
}
|
||||
return SaddleAbility.applySaddle(targetMount, game);
|
||||
return SaddleAbility.applySaddle(game.getPermanent(getTargetPointer().getFirst(game, source)), game);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue