mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
*Knacksaw Clique - Fixed that exiled card could also be played by opponent.
This commit is contained in:
parent
f6eb0b79e5
commit
a06990c038
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ import mage.filter.predicate.permanent.ControllerPredicate;
|
|||
public class VelaTheNightClad extends CardImpl {
|
||||
|
||||
private final static String rule = "Whenever {this} or another creature you control leaves the battlefield, ";
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("creature an opponent controls");
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||
static {
|
||||
filter.add(new ControllerPredicate(TargetController.YOU));
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@ class KnacksawCliqueCastFromExileEffect extends AsThoughEffectImpl {
|
|||
|
||||
@Override
|
||||
public boolean applies(UUID sourceId, Ability source, UUID affectedControllerId, Game game) {
|
||||
if (sourceId.equals(this.cardId)) {
|
||||
if (sourceId.equals(this.cardId) && source.getControllerId().equals(affectedControllerId)) {
|
||||
Card card = game.getCard(this.cardId);
|
||||
if (card != null && game.getState().getExile().getExileZone(exileId).contains(cardId)) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue