mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[SPM] Implement Angry Rabble
This commit is contained in:
parent
75b553fe72
commit
a5e9796010
8 changed files with 83 additions and 44 deletions
|
|
@ -10,6 +10,7 @@ import mage.game.Game;
|
|||
import mage.game.events.GameEvent;
|
||||
import mage.game.stack.Spell;
|
||||
import mage.target.targetpointer.FixedTarget;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
/**
|
||||
* @author North, Susucr
|
||||
|
|
@ -103,7 +104,7 @@ public class SpellCastControllerTriggeredAbility extends TriggeredAbilityImpl {
|
|||
}
|
||||
|
||||
private void makeTriggerPhrase() {
|
||||
String text = getWhen() + "you cast " + filter.getMessage();
|
||||
String text = getWhen() + "you cast " + CardUtil.addArticle(filter.getMessage());
|
||||
|
||||
switch (fromZone) {
|
||||
case ALL:
|
||||
|
|
|
|||
|
|
@ -1093,6 +1093,13 @@ public final class StaticFilters {
|
|||
FILTER_SPELL_KICKED_A.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterSpell FILTER_SPELL_MV_4_OR_GREATER = new FilterSpell("spell with mana value 4 or greater");
|
||||
|
||||
static {
|
||||
FILTER_SPELL_MV_4_OR_GREATER.add(new ManaValuePredicate(ComparisonType.OR_GREATER, 4));
|
||||
FILTER_SPELL_MV_4_OR_GREATER.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterSpell FILTER_SPELL_NO_MANA_SPENT = new FilterSpell("a spell, if no mana was spent to cast it");
|
||||
|
||||
static {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue