convert Marsh Viper to triggers

This commit is contained in:
jendave
2011-08-06 18:58:48 +00:00
parent f3e90612c3
commit 45e8ef57dd
2 changed files with 4 additions and 3 deletions

View File

@@ -1,8 +1,10 @@
Name:Marsh Viper
ManaCost:3 G
Types:Creature Snake
Text:Whenever Marsh Viper deals damage to an opponent, that player gets two poison counters.
Text:no text
PT:1/2
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | TriggerZones$ Battlefield | Execute$ TrigPoison | TriggerDescription$ Whenever CARDNAME deals damage to an opponent, that player gets two poison counters. (A player with ten or more poison counters loses the game.)
SVar:TrigPoison:AB$Poison | Cost$ 0 | Defined$ Opponent | Num$ 2
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/marsh_viper.jpg
SetInfo:5ED|Common|http://magiccards.info/scans/en/5e/177.jpg

View File

@@ -4361,8 +4361,7 @@ public class GameActionUtil {
if(c.getKeyword().contains("Whenever this creature deals damage to a player, that player gets a poison counter."))
playerCombatDamage_PoisonCounter(c, 1);
if(c.getName().equals("Marsh Viper")) playerCombatDamage_PoisonCounter(c, 2);
else 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"))
playerCombatDamage_Whirling_Dervish(c);