mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
convert Lu Xun, Scholar General, Shadowmage Infiltrator, and Thieving Magpie to triggers
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
Name:Lu Xun, Scholar General
|
Name:Lu Xun, Scholar General
|
||||||
ManaCost:2 U U
|
ManaCost:2 U U
|
||||||
Types:Legendary Creature Human Soldier
|
Types:Legendary Creature Human Soldier
|
||||||
Text:Whenever Lu Xun, Scholar General deals combat damage to a player, you may draw a card.
|
Text:no text
|
||||||
PT:1/3
|
PT:1/3
|
||||||
K:Horsemanship
|
K:Horsemanship
|
||||||
|
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDraw | Optional$ True | TriggerDescription$ Whenever CARDNAME deals damage to an opponent, you may draw a card.
|
||||||
|
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/lu_xun_scholar_general.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/lu_xun_scholar_general.jpg
|
||||||
SetInfo:PTK|Rare|http://magiccards.info/scans/en/p3k/48.jpg
|
SetInfo:PTK|Rare|http://magiccards.info/scans/en/p3k/48.jpg
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ Types:Creature Human Wizard
|
|||||||
Text:Whenever Shadowmage Infiltrator deals combat damage to a player, you may draw a card.
|
Text:Whenever Shadowmage Infiltrator deals combat damage to a player, you may draw a card.
|
||||||
PT:1/3
|
PT:1/3
|
||||||
K:Fear
|
K:Fear
|
||||||
|
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigDraw | Optional$ True | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may draw a card.
|
||||||
|
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/shadowmage_infiltrator.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/shadowmage_infiltrator.jpg
|
||||||
SetInfo:ODY|Rare|http://magiccards.info/scans/en/od/294.jpg
|
SetInfo:ODY|Rare|http://magiccards.info/scans/en/od/294.jpg
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
Name:Thieving Magpie
|
Name:Thieving Magpie
|
||||||
ManaCost:2 U U
|
ManaCost:2 U U
|
||||||
Types:Creature Bird
|
Types:Creature Bird
|
||||||
Text:Whenever Thieving Magpie deals damage to an opponent, you draw a card.
|
Text:no text
|
||||||
PT:1/3
|
PT:1/3
|
||||||
K:Flying
|
K:Flying
|
||||||
|
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME deals damage to an opponent, draw a card.
|
||||||
|
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/thieving_magpie.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/thieving_magpie.jpg
|
||||||
SetInfo:8ED|Uncommon|http://magiccards.info/scans/en/8e/107.jpg
|
SetInfo:8ED|Uncommon|http://magiccards.info/scans/en/8e/107.jpg
|
||||||
|
|||||||
@@ -4362,7 +4362,6 @@ public class GameActionUtil {
|
|||||||
playerCombatDamage_PoisonCounter(c, 1);
|
playerCombatDamage_PoisonCounter(c, 1);
|
||||||
|
|
||||||
if(c.getName().equals("Nicol Bolas")) playerCombatDamage_Nicol_Bolas(c);
|
if(c.getName().equals("Nicol Bolas")) playerCombatDamage_Nicol_Bolas(c);
|
||||||
else if(c.getName().equals("Thieving Magpie")|| c.getName().equals("Lu Xun, Scholar General")) playerCombatDamage_Shadowmage_Infiltrator(c);
|
|
||||||
else if(c.getName().equals("Whirling Dervish") || c.getName().equals("Dunerider Outlaw"))
|
else if(c.getName().equals("Whirling Dervish") || c.getName().equals("Dunerider Outlaw"))
|
||||||
playerCombatDamage_Whirling_Dervish(c);
|
playerCombatDamage_Whirling_Dervish(c);
|
||||||
else if(AllZoneUtil.isCardInPlay("Living Artifact", player)) execute_Living_Artifact(player, damage);
|
else if(AllZoneUtil.isCardInPlay("Living Artifact", player)) execute_Living_Artifact(player, damage);
|
||||||
@@ -4479,16 +4478,9 @@ public class GameActionUtil {
|
|||||||
}//isEquipped
|
}//isEquipped
|
||||||
|
|
||||||
|
|
||||||
//if(c.getName().equals("Dimir Cutpurse")) playerCombatDamage_Dimir_Cutpurse(c);
|
|
||||||
if(c.getName().equals("Ghastlord of Fugue")) playerCombatDamage_Ghastlord_of_Fugue(c);
|
if(c.getName().equals("Ghastlord of Fugue")) playerCombatDamage_Ghastlord_of_Fugue(c);
|
||||||
else if(c.getName().equals("Garza Zol, Plague Queen")) playerCombatDamage_May_draw(c);
|
else if(c.getName().equals("Garza Zol, Plague Queen")) playerCombatDamage_May_draw(c);
|
||||||
else if(c.getName().equals("Scalpelexis")) playerCombatDamage_Scalpelexis(c);
|
else if(c.getName().equals("Scalpelexis")) playerCombatDamage_Scalpelexis(c);
|
||||||
//else if(c.getName().equals("Guul Draz Specter")) opponent_Discard(c, 1);
|
|
||||||
//else if(c.getName().equals("Chilling Apparition")) opponent_Discard(c, 1);
|
|
||||||
//else if(c.getName().equals("Sedraxis Specter")) opponent_Discard(c, 1);
|
|
||||||
//else if(c.getName().equals("Headhunter")) opponent_Discard(c, 1);
|
|
||||||
//else if(c.getName().equals("Riptide Pilferer")) opponent_Discard(c, 1);
|
|
||||||
else if(c.getName().equals("Shadowmage Infiltrator")) playerCombatDamage_Shadowmage_Infiltrator(c);
|
|
||||||
else if(c.getName().equals("Augury Adept")) playerCombatDamage_Augury_Adept(c);
|
else if(c.getName().equals("Augury Adept")) playerCombatDamage_Augury_Adept(c);
|
||||||
else if(c.getName().equals("Spawnwrithe")) playerCombatDamage_Spawnwrithe(c);
|
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("Glint-Eye Nephilim") || c.getName().equals("Cold-Eyed Selkie")) playerCombatDamage_Glint_Eye_Nephilim(c);
|
||||||
@@ -4646,29 +4638,6 @@ public class GameActionUtil {
|
|||||||
opponent.addPoisonCounters(n);
|
opponent.addPoisonCounters(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
private static void playerCombatDamage_Dimir_Cutpurse(Card c) {
|
|
||||||
final Player player = c.getController();
|
|
||||||
final Player opponent = player.getOpponent();
|
|
||||||
|
|
||||||
if(c.getNetAttack() > 0) {
|
|
||||||
Ability ability2 = new Ability(c, "0") {
|
|
||||||
@Override
|
|
||||||
public void resolve() {
|
|
||||||
opponent.discard(this);
|
|
||||||
player.drawCard();
|
|
||||||
}
|
|
||||||
};// ability2
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
sb.append(c.getName()).append(" - ").append(player).append(" draws a card, opponent discards a card");
|
|
||||||
ability2.setStackDescription(sb.toString());
|
|
||||||
|
|
||||||
AllZone.Stack.add(ability2);
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
private static void playerDamage_Dissipation_Field(final Card c, final Card crd)
|
private static void playerDamage_Dissipation_Field(final Card c, final Card crd)
|
||||||
{
|
{
|
||||||
final Player owner = c.getOwner();
|
final Player owner = c.getOwner();
|
||||||
@@ -5045,31 +5014,6 @@ public class GameActionUtil {
|
|||||||
}
|
}
|
||||||
}//nicol bolas
|
}//nicol bolas
|
||||||
|
|
||||||
private static void playerCombatDamage_Shadowmage_Infiltrator(Card c) {
|
|
||||||
//Player player = c.getController();
|
|
||||||
final Player[] player = new Player[1];
|
|
||||||
final Card crd = c;
|
|
||||||
|
|
||||||
|
|
||||||
if(c.getNetAttack() > 0) {
|
|
||||||
Ability ability2 = new Ability(c, "0") {
|
|
||||||
@Override
|
|
||||||
public void resolve() {
|
|
||||||
player[0] = crd.getController();
|
|
||||||
player[0].drawCard();
|
|
||||||
}
|
|
||||||
};// ability2
|
|
||||||
|
|
||||||
player[0] = c.getController();
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
sb.append(c.getName()).append(" - ").append(player[0]).append(" draws a card.");
|
|
||||||
ability2.setStackDescription(sb.toString());
|
|
||||||
|
|
||||||
AllZone.Stack.add(ability2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void playerCombatDamage_Augury_Adept(Card c) {
|
private static void playerCombatDamage_Augury_Adept(Card c) {
|
||||||
final Player[] player = new Player[1];
|
final Player[] player = new Player[1];
|
||||||
final Card crd = c;
|
final Card crd = c;
|
||||||
|
|||||||
Reference in New Issue
Block a user