mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Some minor changes.
This commit is contained in:
parent
7a54d5364c
commit
e8a875b241
2 changed files with 3 additions and 7 deletions
|
@ -37,7 +37,6 @@ import mage.abilities.decorator.ConditionalTriggeredAbility;
|
|||
import mage.abilities.effects.common.DamageControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.TargetController;
|
||||
import mage.game.Game;
|
||||
|
@ -82,9 +81,7 @@ class ErgRaidersCondition implements Condition {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Permanent raiders = game.getPermanentOrLKIBattlefield(source.getSourceId());
|
||||
AttackedThisTurnWatcher watcher = (AttackedThisTurnWatcher) game.getState().getWatchers().get("AttackedThisTurn");
|
||||
if(raiders.wasControlledFromStartOfControllerTurn() && !watcher.getAttackedThisTurnCreatures().contains(raiders.getId())) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
// wasControlledFromStartOfControllerTurn should be checked during resolution I guess, but shouldn't be relevant
|
||||
return raiders.wasControlledFromStartOfControllerTurn() && !watcher.getAttackedThisTurnCreatures().contains(raiders.getId());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,7 +30,6 @@ package mage.sets.mercadianmasques;
|
|||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.TriggeredAbilityImpl;
|
||||
import mage.abilities.common.DealtDamageToSourceTriggeredAbility;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
|
@ -75,7 +74,7 @@ class SaberAntsEffect extends OneShotEffect {
|
|||
|
||||
public SaberAntsEffect() {
|
||||
super(Outcome.Benefit);
|
||||
this.staticText = "Whenever Saber Ants is dealt damage, you may put that many 1/1 green Insect creature tokens onto the battlefield.";
|
||||
this.staticText = "you may put that many 1/1 green Insect creature tokens onto the battlefield";
|
||||
}
|
||||
|
||||
public SaberAntsEffect(final SaberAntsEffect effect) {
|
||||
|
|
Loading…
Reference in a new issue