convert Arcbound Slith to triggers

This commit is contained in:
jendave
2011-08-06 18:57:10 +00:00
parent 8c71916b06
commit 2bb74e20ef
2 changed files with 3 additions and 24 deletions

View File

@@ -1,9 +1,11 @@
Name:Arcbound Slith Name:Arcbound Slith
ManaCost:2 ManaCost:2
Types:Artifact Creature Slith Types:Artifact Creature Slith
Text:Whenever Arcbound Slith deals combat damage to a player, put a +1/+1 counter on it. Text:no text
PT:0/0 PT:0/0
K:Modular 1 K:Modular 1
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put a +1/+1 counter on it.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/arcbound_slith.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/arcbound_slith.jpg
SetInfo:DST|Uncommon|http://magiccards.info/scans/en/ds/102.jpg SetInfo:DST|Uncommon|http://magiccards.info/scans/en/ds/102.jpg

View File

@@ -4634,8 +4634,6 @@ public class GameActionUtil {
else if(c.getName().equals("Slith Strider") || c.getName().equals("Slith Ascendant") else if(c.getName().equals("Slith Strider") || c.getName().equals("Slith Ascendant")
|| c.getName().equals("Slith Bloodletter") || c.getName().equals("Slith Firewalker") || c.getName().equals("Slith Bloodletter") || c.getName().equals("Slith Firewalker")
|| c.getName().equals("Slith Predator")) playerCombatDamage_Slith(c); || c.getName().equals("Slith Predator")) playerCombatDamage_Slith(c);
else if (c.getName().equals("Arcbound Slith"))
playerCombatDamage_Arcbound_Slith(c);
else if(c.getName().equals("Rootwater Thief")) playerCombatDamage_Rootwater_Thief(c); else if(c.getName().equals("Rootwater Thief")) playerCombatDamage_Rootwater_Thief(c);
else if(c.getName().equals("Treva, the Renewer")) playerCombatDamage_Treva(c); else if(c.getName().equals("Treva, the Renewer")) playerCombatDamage_Treva(c);
else if(c.getName().equals("Rith, the Awakener")) playerCombatDamage_Rith(c); else if(c.getName().equals("Rith, the Awakener")) playerCombatDamage_Rith(c);
@@ -4983,27 +4981,6 @@ public class GameActionUtil {
} // if } // if
} }
private static void playerCombatDamage_Arcbound_Slith(Card c) {
final int power = c.getNetAttack();
final Card card = c;
if(power > 0) {
final Ability ability2 = new Ability(c, "0") {
@Override
public void resolve() {
card.addCounter(Counters.P1P1, 1);
}
};// ability2
StringBuilder sb = new StringBuilder();
sb.append(c.getName()).append(" - gets a +1/+1 counter.");
ability2.setStackDescription(sb.toString());
AllZone.Stack.add(ability2);
} // if
}
private static void playerCombatDamage_May_draw(Card c) { private static void playerCombatDamage_May_draw(Card c) {
final Player player = c.getController(); final Player player = c.getController();