mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
- Fixed text Goblin Flotilla.
This commit is contained in:
parent
e0d28436e9
commit
a7acaefb4a
1 changed files with 17 additions and 7 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package mage.cards.g;
|
package mage.cards.g;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -6,6 +5,7 @@ import mage.MageInt;
|
||||||
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
|
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
|
||||||
import mage.abilities.common.BlocksOrBecomesBlockedTriggeredAbility;
|
import mage.abilities.common.BlocksOrBecomesBlockedTriggeredAbility;
|
||||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
|
import mage.abilities.effects.Effect;
|
||||||
import mage.abilities.effects.common.DoUnlessControllerPaysEffect;
|
import mage.abilities.effects.common.DoUnlessControllerPaysEffect;
|
||||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||||
|
@ -33,16 +33,26 @@ public final class GoblinFlotilla extends CardImpl {
|
||||||
|
|
||||||
// Islandwalk
|
// Islandwalk
|
||||||
this.addAbility(new IslandwalkAbility());
|
this.addAbility(new IslandwalkAbility());
|
||||||
|
|
||||||
// At the beginning of each combat, unless you pay {R}, whenever Goblin Flotilla blocks or becomes blocked by a creature this combat, that creature gains first strike until end of turn.
|
// At the beginning of each combat, unless you pay {R}, whenever Goblin Flotilla blocks or becomes blocked by a creature this combat, that creature gains first strike until end of turn.
|
||||||
this.addAbility(new BeginningOfCombatTriggeredAbility(
|
Effect effect = new DoUnlessControllerPaysEffect(
|
||||||
new DoUnlessControllerPaysEffect(
|
new GainAbilitySourceEffect(
|
||||||
new GainAbilitySourceEffect(new BlocksOrBecomesBlockedTriggeredAbility(new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, "Blocks or Blocked by Goblin Flotilla"), false), Duration.EndOfCombat),
|
new BlocksOrBecomesBlockedTriggeredAbility(
|
||||||
|
new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(),
|
||||||
|
Duration.EndOfTurn,
|
||||||
|
"Blocks or Blocked by Goblin Flotilla"),
|
||||||
|
false),
|
||||||
|
Duration.EndOfCombat),
|
||||||
new ManaCostsImpl("{R}"),
|
new ManaCostsImpl("{R}"),
|
||||||
"Pay Goblin Flotilla combat effect?"
|
"Pay Goblin Flotilla combat effect?"
|
||||||
),
|
);
|
||||||
|
effect.setText("unless you pay {R}, whenever {this} blocks or becomes blocked by a creature this combat, that creature gains first strike until end of turn.");
|
||||||
|
this.addAbility(new BeginningOfCombatTriggeredAbility(
|
||||||
|
effect,
|
||||||
TargetController.ANY,
|
TargetController.ANY,
|
||||||
false
|
false
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public GoblinFlotilla(final GoblinFlotilla card) {
|
public GoblinFlotilla(final GoblinFlotilla card) {
|
||||||
|
|
Loading…
Reference in a new issue