From f67267c0b0c4a000cee8ba3ea1a11ccde5d6adaa Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 11 Feb 2013 19:48:54 +0100 Subject: [PATCH] Added rule comments to the new keyword abilities of gatecrash. Added italic style to ability words. --- .../effects/common/CipherEffect.java | 22 +++++++++++++++++++ .../abilities/keyword/BattalionAbility.java | 7 +++++- .../abilities/keyword/BloodrushAbility.java | 7 +++++- .../mage/abilities/keyword/EvolveAbility.java | 10 +++++++++ .../mage/abilities/keyword/ExtortAbility.java | 9 ++++++++ 5 files changed, 53 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/abilities/effects/common/CipherEffect.java b/Mage/src/mage/abilities/effects/common/CipherEffect.java index cd85ca51fa..b65acf7188 100644 --- a/Mage/src/mage/abilities/effects/common/CipherEffect.java +++ b/Mage/src/mage/abilities/effects/common/CipherEffect.java @@ -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 */ diff --git a/Mage/src/mage/abilities/keyword/BattalionAbility.java b/Mage/src/mage/abilities/keyword/BattalionAbility.java index 864182ddff..d79e84722d 100644 --- a/Mage/src/mage/abilities/keyword/BattalionAbility.java +++ b/Mage/src/mage/abilities/keyword/BattalionAbility.java @@ -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 { @Override public String getRule() { - return new StringBuilder("Battalion - Whenever {this} and at least two other creatures attack, ").append(super.getRule()).toString() ; + return new StringBuilder("Battalion - Whenever {this} and at least two other creatures attack, ").append(super.getRule()).toString() ; } } diff --git a/Mage/src/mage/abilities/keyword/BloodrushAbility.java b/Mage/src/mage/abilities/keyword/BloodrushAbility.java index e405644e1f..a6a34da571 100644 --- a/Mage/src/mage/abilities/keyword/BloodrushAbility.java +++ b/Mage/src/mage/abilities/keyword/BloodrushAbility.java @@ -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 { @Override public String getRule() { - StringBuilder sb = new StringBuilder("Bloodrush - "); + StringBuilder sb = new StringBuilder("Bloodrush - "); sb.append(super.getRule()); return sb.toString(); } diff --git a/Mage/src/mage/abilities/keyword/EvolveAbility.java b/Mage/src/mage/abilities/keyword/EvolveAbility.java index 1ef9ea6782..22e8edc2e8 100644 --- a/Mage/src/mage/abilities/keyword/EvolveAbility.java +++ b/Mage/src/mage/abilities/keyword/EvolveAbility.java @@ -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 */ diff --git a/Mage/src/mage/abilities/keyword/ExtortAbility.java b/Mage/src/mage/abilities/keyword/ExtortAbility.java index 28bddec475..c7e2ac7ee1 100644 --- a/Mage/src/mage/abilities/keyword/ExtortAbility.java +++ b/Mage/src/mage/abilities/keyword/ExtortAbility.java @@ -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 */