mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
convert Slith Strider to triggers
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
Name:Slith Strider
|
||||
ManaCost:1 U U
|
||||
Types:Creature Slith
|
||||
Text:Whenever Slith Strider becomes blocked, draw a card.\r\nWhenever Slith Strider deals combat damage to a player, put a +1/+1 counter on it.
|
||||
Text:no text
|
||||
PT:1/1
|
||||
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME becomes blocked, draw a card.
|
||||
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1
|
||||
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | 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:Picture:http://www.wizards.com/global/images/magic/general/slith_strider.jpg
|
||||
SetInfo:MRD|Uncommon|http://magiccards.info/scans/en/mi/50.jpg
|
||||
|
||||
@@ -2370,13 +2370,7 @@ public class CombatUtil {
|
||||
}//Whenever CARDNAME becomes blocked by a creature, destroy that creature at end of combat
|
||||
|
||||
|
||||
if (a.getName().equals("Slith Strider") && !a.getCreatureGotBlockedThisCombat()) {
|
||||
Player player = a.getController();
|
||||
player.drawCard();
|
||||
/*} else if(a.getName().equals("Corrupt Official") && !a.getCreatureGotBlockedThisCombat()) {
|
||||
Player opp = b.getController();
|
||||
opp.discardRandom(a.getSpellAbility()[0]);*/
|
||||
} else if (a.getName().equals("Robber Fly") && !a.getCreatureGotBlockedThisCombat()) {
|
||||
if (a.getName().equals("Robber Fly") && !a.getCreatureGotBlockedThisCombat()) {
|
||||
Player opp = b.getController();
|
||||
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, opp);
|
||||
CardList list = new CardList(hand.getCards());
|
||||
|
||||
@@ -4424,7 +4424,7 @@ public class GameActionUtil {
|
||||
else if(c.getName().equals("Spawnwrithe")) playerCombatDamage_Spawnwrithe(c);
|
||||
else if(c.getName().equals("Glint-Eye Nephilim") || c.getName().equals("Cold-Eyed Selkie")) playerCombatDamage_Glint_Eye_Nephilim(c);
|
||||
else if(c.getName().equals("Hystrodon") && !c.isFaceDown()) playerCombatDamage_Hystrodon(c);
|
||||
else if(c.getName().equals("Slith Strider") || c.getName().equals("Slith Ascendant")
|
||||
else if(c.getName().equals("Slith Ascendant")
|
||||
|| c.getName().equals("Slith Bloodletter") || c.getName().equals("Slith Firewalker")
|
||||
|| c.getName().equals("Slith Predator")) playerCombatDamage_Slith(c);
|
||||
else if(c.getName().equals("Rootwater Thief")) playerCombatDamage_Rootwater_Thief(c);
|
||||
@@ -4911,29 +4911,7 @@ public class GameActionUtil {
|
||||
|
||||
AllZone.Stack.add(ability2);
|
||||
}
|
||||
|
||||
private static void playerCombatDamage_Nicol_Bolas(Card c) {
|
||||
final Player[] opp = new Player[1];
|
||||
final Card crd = c;
|
||||
|
||||
if(c.getNetAttack() > 0) {
|
||||
Ability ability = new Ability(c, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
opp[0] = crd.getController().getOpponent();
|
||||
opp[0].discardHand(this);
|
||||
}
|
||||
};
|
||||
opp[0] = c.getController().getOpponent();
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(c.getName()).append(" - ").append(opp[0]).append(" discards his or her hand.");
|
||||
ability.setStackDescription(sb.toString());
|
||||
|
||||
AllZone.Stack.add(ability);
|
||||
}
|
||||
}//nicol bolas
|
||||
|
||||
|
||||
private static void playerCombatDamage_Augury_Adept(Card c) {
|
||||
final Player[] player = new Player[1];
|
||||
final Card crd = c;
|
||||
|
||||
Reference in New Issue
Block a user