mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Added rule comments to the new keyword abilities of gatecrash. Added italic style to ability words.
This commit is contained in:
parent
590de413e3
commit
f67267c0b0
5 changed files with 53 additions and 2 deletions
|
@ -45,6 +45,28 @@ import mage.target.common.TargetControlledCreaturePermanent;
|
|||
import mage.target.targetpointer.FixedTarget;
|
||||
|
||||
/**
|
||||
* FAQ 2013/01/11
|
||||
*
|
||||
* 702.97. Cipher
|
||||
*
|
||||
* 702.97a Cipher appears on some instants and sorceries. It represents two static
|
||||
* abilities, one that functions while the spell is on the stack and one that functions
|
||||
* while the card with cipher is in the exile zone. "Cipher" means "If this spell is
|
||||
* represented by a card, you may exile this card encoded on a creature you control"
|
||||
* and "As long as this card is encoded on that creature, that creature has 'Whenever
|
||||
* this creature deals combat damage to a player, you may copy this card and you may
|
||||
* cast the copy without paying its mana cost.'"
|
||||
*
|
||||
* 702.97b The term "encoded" describes the relationship between the card with cipher
|
||||
* while in the exile zone and the creature chosen when the spell represented by that
|
||||
* card resolves.
|
||||
*
|
||||
* 702.97c The card with cipher remains encoded on the chosen creature as long as the
|
||||
* card with cipher remains exiled and the creature remains on the battlefield. The
|
||||
* card remains encoded on that object even if it changes controller or stops being
|
||||
* a creature, as long as it remains on the battlefield.
|
||||
*
|
||||
* TODO: Implement Cipher as two static abilities concerning the rules.
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
|
|
|
@ -35,6 +35,11 @@ import mage.game.Game;
|
|||
import mage.game.events.GameEvent;
|
||||
|
||||
/**
|
||||
* FAQ 2013/01/11
|
||||
*
|
||||
* Battalion is an ability word that appears in italics at the beginning of abilities
|
||||
* that trigger whenever you attack with that creature and at least two other
|
||||
* creatures. (An ability word has no rules meaning.)
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
|
@ -67,7 +72,7 @@ public class BattalionAbility extends TriggeredAbilityImpl<BattalionAbility> {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return new StringBuilder("Battalion - Whenever {this} and at least two other creatures attack, ").append(super.getRule()).toString() ;
|
||||
return new StringBuilder("<i>Battalion</i> - Whenever {this} and at least two other creatures attack, ").append(super.getRule()).toString() ;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -36,6 +36,11 @@ import mage.abilities.effects.Effect;
|
|||
import mage.target.common.TargetAttackingCreature;
|
||||
|
||||
/**
|
||||
* FAQ 2013/01/11
|
||||
*
|
||||
* Bloodrush is an ability word that appears in italics at the beginning of abilities
|
||||
* of creature cards you can discard to give an attacking creature a bonus.
|
||||
* (An ability word has no rules meaning.)
|
||||
*
|
||||
* @author Ludwig
|
||||
*/
|
||||
|
@ -60,7 +65,7 @@ public class BloodrushAbility extends ActivatedAbilityImpl<BloodrushAbility> {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
StringBuilder sb = new StringBuilder("Bloodrush - ");
|
||||
StringBuilder sb = new StringBuilder("<i>Bloodrush</i> - ");
|
||||
sb.append(super.getRule());
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
|
@ -42,7 +42,17 @@ import mage.game.events.ZoneChangeEvent;
|
|||
import mage.game.permanent.Permanent;
|
||||
|
||||
/**
|
||||
* FAQ 2013/01/11
|
||||
*
|
||||
* 702.98. Evolve
|
||||
*
|
||||
* 702.98a Evolve is a triggered ability. "Evolve" means "Whenever a creature enters
|
||||
* the battlefield under your control, if that creature's power is greater than this
|
||||
* creature's power and/or that creature's toughness is greater than this creature's
|
||||
* toughness, put a +1/+1 counter on this creature."
|
||||
*
|
||||
* 702.98b If a creature has multiple instances of evolve, each triggers separately
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
|
||||
|
|
|
@ -41,6 +41,15 @@ import mage.game.permanent.Permanent;
|
|||
import mage.players.Player;
|
||||
|
||||
/**
|
||||
* FAQ 2013/01/11
|
||||
*
|
||||
* 702.99. Extort
|
||||
*
|
||||
* 702.99a Extort is a triggered ability. "Extort" means "Whenever you cast a spell,
|
||||
* you may pay White or Black Mana. If you do, each opponent loses 1 life and you gain
|
||||
* life equal to the total life lost this way."
|
||||
*
|
||||
* 702.99b If a permanent has multiple instances of extort, each triggers separately.
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue