mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
replaced various flavor words with ability words
This commit is contained in:
parent
d5fb03e5e3
commit
ef9d79e712
28 changed files with 52 additions and 83 deletions
|
|
@ -14,25 +14,18 @@ import mage.game.stack.Spell;
|
|||
public class CastSourceTriggeredAbility extends TriggeredAbilityImpl {
|
||||
|
||||
public static final String SOURCE_CAST_SPELL_ABILITY = "sourceCastSpellAbility";
|
||||
private final String rulePrefix;
|
||||
|
||||
public CastSourceTriggeredAbility(Effect effect) {
|
||||
this(effect, false);
|
||||
}
|
||||
|
||||
public CastSourceTriggeredAbility(Effect effect, boolean optional) {
|
||||
this(effect, optional, "");
|
||||
}
|
||||
|
||||
public CastSourceTriggeredAbility(Effect effect, boolean optional, String rulePrefix) {
|
||||
super(Zone.STACK, effect, optional);
|
||||
this.ruleAtTheTop = true;
|
||||
this.rulePrefix = rulePrefix;
|
||||
}
|
||||
|
||||
public CastSourceTriggeredAbility(final CastSourceTriggeredAbility ability) {
|
||||
super(ability);
|
||||
this.rulePrefix = ability.rulePrefix;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -64,6 +57,6 @@ public class CastSourceTriggeredAbility extends TriggeredAbilityImpl {
|
|||
|
||||
@Override
|
||||
public String getTriggerPhrase() {
|
||||
return rulePrefix + "When you cast this spell, " ;
|
||||
return "When you cast this spell, ";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ public enum AbilityWord {
|
|||
COHORT("Cohort"),
|
||||
CONSTELLATION("Constellation"),
|
||||
CONVERGE("Converge"),
|
||||
COUNCILS_DILEMMA("Council's dilemma"),
|
||||
COVEN("Coven"),
|
||||
DELIRIUM("Delirium"),
|
||||
DOMAIN("Domain"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue