mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fix Nessian Wilds Ravager
This commit is contained in:
parent
ceda6b3611
commit
c96c0a1e9e
2 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ public class NessianWildsRavager extends CardImpl<NessianWildsRavager> {
|
|||
this.addAbility(new TributeAbility(6));
|
||||
// When Nessian Wilds Ravager enters the battlefield, if tribute wasn't paid, you may have Nessian Wilds Ravager fight another target creature.
|
||||
TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new FightTargetSourceEffect(), true);
|
||||
ability.addTarget(new TargetCreaturePermanent(true));
|
||||
ability.addTarget(new TargetCreaturePermanent(filter, true));
|
||||
this.addAbility(new ConditionalTriggeredAbility(ability, TributeNotPaidCondition.getInstance(),
|
||||
"When {this} enters the battlefield, if its tribute wasn't paid, you may have {this} fight another target creature."));
|
||||
}
|
||||
|
|
|
@ -54,8 +54,8 @@ public class FightTargetSourceEffect extends OneShotEffect<FightTargetSourceEffe
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Card card = game.getCard(source.getSourceId());
|
||||
if (card != null) {
|
||||
// only if both targets are legal the effect will be applied
|
||||
if (source.getTargets().get(0).isLegal(source, game) && source.getTargets().get(1).isLegal(source, game)) {
|
||||
// only if target is legal the effect will be applied
|
||||
if (source.getTargets().get(0).isLegal(source, game)) {
|
||||
Permanent creature1 = game.getPermanent(source.getTargets().get(0).getFirstTarget());
|
||||
Permanent creature2 = game.getPermanent(source.getSourceId());
|
||||
// 20110930 - 701.10
|
||||
|
|
Loading…
Reference in a new issue