mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Removed the keyword "At the beginning of your end step, destroy this creature if it didn't attack this turn." and converted Aggression.
This commit is contained in:
@@ -2,9 +2,12 @@ Name:Aggression
|
||||
ManaCost:2 R
|
||||
Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
A:SP$ Attach | Cost$ 2 R | ValidTgts$ Creature.nonWall | AILogic$ Pump
|
||||
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ First Strike & Trample | AddHiddenKeyword$ HIDDEN At the beginning of your end step, destroy this creature if it didn't attack this turn. | Description$ Enchanted creature has first strike and trample. At the beginning of the end step of enchanted creature's controller, destroy that creature if it didn't attack this turn.
|
||||
K:Enchant non-Wall creature
|
||||
A:SP$ Attach | Cost$ 2 R | ValidTgts$ Creature.nonWall | TgtPrompt$ Select target non-Wall creature | AILogic$ Pump
|
||||
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ First Strike & Trample | Description$ Enchanted creature has first strike and trample.
|
||||
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | Execute$ TrigDestroy | isPresent$ Card.EnchantedBy+notAttackedThisTurn | TriggerDescription$ At the beginning of the end step of enchanted creature's controller, destroy that creature if it didn't attack this turn.
|
||||
SVar:TrigDestroy:DB$Destroy | Defined$ Enchanted
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/aggression.jpg
|
||||
SetInfo:ICE|Uncommon|http://magiccards.info/scans/en/ia/169.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:U
|
||||
Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature an opponent controls
|
||||
A:SP$ Attach | Cost$ U | ValidTgts$ Creature.YouDontCtrl | AILogic$ Pump
|
||||
A:SP$ Attach | Cost$ U | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature an opponent controls | AILogic$ Pump
|
||||
T:Mode$ Taps | ValidCard$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever enchanted creature becomes tapped, you draw a card.
|
||||
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1
|
||||
SVar:Rarity:Common
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:2 B
|
||||
Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant non-Wall creature you control
|
||||
A:SP$ Attach | Cost$ 2 B | ValidTgts$ Creature.nonWall+YouCtrl | AILogic$ Pump
|
||||
A:SP$ Attach | Cost$ 2 B | ValidTgts$ Creature.nonWall+YouCtrl | TgtPrompt$ Select target non-Wall creature you control | AILogic$ Pump
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card at the beginning of the next turn's upkeep.
|
||||
SVar:TrigDraw:DB$Draw | NumCards$ 1 | NextUpkeep$ True
|
||||
A:AB$DealDamage | Cost$ tapXType<1/Creature.EnchantedBy/Enchanted Creature> | Tgt$ TgtCP | NumDmg$ 1 | SubAbility$ DBPutCounter | CostDesc$ Tap enchanted creature: | SpellDescription$ CARDNAME deals 1 damage to target creature or player. Put a -0/-1 counter on enchanted creature. Activate this ability only if enchanted creature is untapped.
|
||||
|
||||
@@ -192,44 +192,6 @@ public class EndOfTurn implements java.io.Serializable {
|
||||
|
||||
AllZone.getStack().addSimultaneousStackEntry(change);
|
||||
|
||||
}
|
||||
if (c.hasKeyword("At the beginning of your end step, sacrifice this creature unless it attacked this turn.")
|
||||
&& !c.getCreatureAttackedThisTurn()
|
||||
/* && !(c.getTurnInZone() == AllZone.getPhase().getTurn()) */
|
||||
&& AllZone.getPhase().isPlayerTurn(c.getController())) {
|
||||
final Card source = c;
|
||||
final SpellAbility change = new Ability(source, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
if (AllZoneUtil.isCardInPlay(source)) {
|
||||
AllZone.getGameAction().sacrifice(source);
|
||||
}
|
||||
}
|
||||
};
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(source.getName()).append(" - sacrifice ").append(source.getName()).append(".");
|
||||
change.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.getStack().addSimultaneousStackEntry(change);
|
||||
|
||||
}
|
||||
if (c.hasKeyword("At the beginning of your end step, destroy this creature if it didn't attack this turn.")
|
||||
&& !c.getCreatureAttackedThisTurn() && AllZone.getPhase().isPlayerTurn(c.getController())) {
|
||||
final Card source = c;
|
||||
final SpellAbility change = new Ability(source, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
if (AllZoneUtil.isCardInPlay(source)) {
|
||||
AllZone.getGameAction().destroy(source);
|
||||
}
|
||||
}
|
||||
};
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(source.getName()).append(" - destroy ").append(source.getName()).append(".");
|
||||
change.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.getStack().addSimultaneousStackEntry(change);
|
||||
|
||||
}
|
||||
if (c.hasKeyword("At the beginning of your end step, return CARDNAME to its owner's hand.")
|
||||
&& AllZone.getPhase().isPlayerTurn(c.getController())) {
|
||||
|
||||
Reference in New Issue
Block a user