1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-11 17:00:08 -09:00

* Small fixes

This commit is contained in:
Quercitron 2014-07-04 03:37:53 +04:00
parent b82ae7e9ab
commit 2d07036d3f
3 changed files with 4 additions and 6 deletions
Mage.Sets/src/mage/sets
bornofthegods/TokenAndCounters
judgment
scarsofmirrodin

View file

@ -47,7 +47,6 @@ public class GoldToken extends Token {
super("Gold", "colorless artifact token named Gold onto the battlefield. It has \"Sacrifice this artifact: Add one mana of any color to your mana pool.\"");
this.setOriginalExpansionSetCode("BNG");
cardType.add(CardType.ARTIFACT);
subtype.add("Gold");
Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(), new SacrificeSourceCost());
ability.addChoice(new ChoiceColor());

View file

@ -30,8 +30,7 @@ package mage.sets.judgment;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.BeginningOfUntapTriggeredAbility;
import mage.abilities.effects.Effect;
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
import mage.abilities.effects.common.continious.GainAbilityTargetEffect;
import mage.abilities.keyword.ForestwalkAbility;
import mage.cards.CardImpl;
@ -72,7 +71,7 @@ public class ErhnamDjinn extends CardImpl {
GainAbilityTargetEffect effect = new GainAbilityTargetEffect(new ForestwalkAbility(), Duration.Custom,
"target non-Wall creature an opponent controls gains forestwalk until your next upkeep");
effect.setDurationToPhase(PhaseStep.UPKEEP);
Ability ability = new BeginningOfUntapTriggeredAbility(effect, TargetController.YOU, false);
Ability ability = new BeginningOfUpkeepTriggeredAbility(effect, TargetController.YOU, false);
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
}

View file

@ -103,11 +103,11 @@ class ArcTrailEffect extends OneShotEffect {
}
if (permanent != null) {
applied |= (permanent.damage( damage, source.getSourceId(), game, false, true ) > 0);
applied |= (permanent.damage( damage, source.getSourceId(), game, true, false ) > 0);
}
Player player = game.getPlayer(target);
if (player != null) {
applied |= (player.damage( damage, source.getSourceId(), game, false, true ) > 0);
applied |= (player.damage( damage, source.getSourceId(), game, true, false ) > 0);
}
twoDamageDone = true;