convert Rakdos, Pit Dragon to stPumpSelf keyword

This commit is contained in:
jendave
2011-08-06 12:39:40 +00:00
parent 82aebadae8
commit f331055540
3 changed files with 4 additions and 48 deletions

View File

@@ -1,10 +1,11 @@
Name:Rakdos Pit Dragon Name:Rakdos Pit Dragon
ManaCost:2 R R ManaCost:2 R R
Types:Creature Dragon Types:Creature Dragon
Text:Hellbent - Rakdos Pit Dragon has double strike as long as you have no cards in hand. Text:no text
PT:3/3 PT:3/3
A:AB$Pump | Cost$ R R | KW$ Flying | SpellDescription$ Rakdos Pit Dragon gains flying until end of turn. A:AB$Pump | Cost$ R R | KW$ Flying | SpellDescription$ Rakdos Pit Dragon gains flying until end of turn.
A:AB$Pump | Cost$ R | NumAtt$ +1 | SpellDescription$ Rakdos Pit Dragon gets +1/+0 until end of turn. A:AB$Pump | Cost$ R | NumAtt$ +1 | SpellDescription$ Rakdos Pit Dragon gets +1/+0 until end of turn.
K:stPumpSelf:Creature:0/0/Double Strike:Hellbent:Hellbent <20> Rakdos Pit Dragon has double strike as long as you have no cards in hand.
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/rakdos_pit_dragon.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/rakdos_pit_dragon.jpg
SetInfo:DIS|Rare|http://magiccards.info/scans/en/di/69.jpg SetInfo:DIS|Rare|http://magiccards.info/scans/en/di/69.jpg

View File

@@ -15025,35 +15025,6 @@ public class GameActionUtil {
}// execute() }// execute()
}; };
public static Command Rakdos_Pit_Dragon = new Command() {
private static final long serialVersionUID = -8778900687347191964L;
public void execute() {
CardList list = AllZoneUtil.getCardsInPlay("Rakdos Pit Dragon");
for(int i = 0; i < list.size(); i++) {
Card c = list.get(i);
if(hellbent(c.getController())
&& !c.getIntrinsicKeyword().contains(
"Double Strike")) c.addIntrinsicKeyword("Double Strike");
else if(!hellbent(c.getController())
&& c.getIntrinsicKeyword().contains(
"Double Strike")) c.removeIntrinsicKeyword("Double Strike");
}
}
private boolean hellbent(Player player) {
PlayerZone hand = AllZone.getZone(
Constant.Zone.Hand, player);
CardList list = new CardList();
list.addAll(hand.getCards());
return list.size() == 0;
}
}; //Rakdos Pit Dragon
public static Command Nyxathid = new Command() { public static Command Nyxathid = new Command() {
private static final long serialVersionUID = -8778900687347191964L; private static final long serialVersionUID = -8778900687347191964L;
@@ -15092,25 +15063,11 @@ public class GameActionUtil {
for(int i = 0; i < list.size(); i++) { for(int i = 0; i < list.size(); i++) {
Card c = list.get(i); Card c = list.get(i);
c.setBaseAttack(countCards()); CardList graves = AllZoneUtil.getCardsInGraveyard();
c.setBaseAttack(graves.size());
c.setBaseDefense(c.getBaseAttack()); c.setBaseDefense(c.getBaseAttack());
} }
} }
private int countCards() {
PlayerZone compGrave = AllZone.getZone(
Constant.Zone.Graveyard,
AllZone.ComputerPlayer);
PlayerZone humGrave = AllZone.getZone(
Constant.Zone.Graveyard,
AllZone.HumanPlayer);
CardList list = new CardList();
list.addAll(compGrave.getCards());
list.addAll(humGrave.getCards());
return list.size();
}
}; //Lord of Extinction }; //Lord of Extinction
@@ -16316,7 +16273,6 @@ public class GameActionUtil {
commands.put("Plague_Rats", Plague_Rats); commands.put("Plague_Rats", Plague_Rats);
commands.put("Primalcrux", Primalcrux); commands.put("Primalcrux", Primalcrux);
commands.put("Rakdos_Pit_Dragon", Rakdos_Pit_Dragon);
commands.put("Ruthless_Cullblade", Ruthless_Cullblade); commands.put("Ruthless_Cullblade", Ruthless_Cullblade);
commands.put("Serpent_of_the_Endless_Sea", Serpent_of_the_Endless_Sea); commands.put("Serpent_of_the_Endless_Sea", Serpent_of_the_Endless_Sea);

View File

@@ -115,7 +115,6 @@ public class StaticEffects
cardToEffectsList.put("Plague Rats", new String[] {"Plague_Rats"}); cardToEffectsList.put("Plague Rats", new String[] {"Plague_Rats"});
cardToEffectsList.put("Primalcrux",new String[] {"Primalcrux"}); cardToEffectsList.put("Primalcrux",new String[] {"Primalcrux"});
cardToEffectsList.put("Rakdos Pit Dragon", new String[] {"Rakdos_Pit_Dragon"});
cardToEffectsList.put("Ruthless Cullblade", new String[] {"Ruthless_Cullblade"}); cardToEffectsList.put("Ruthless Cullblade", new String[] {"Ruthless_Cullblade"});
cardToEffectsList.put("Serpent of the Endless Sea", new String[] {"Serpent_of_the_Endless_Sea"}); cardToEffectsList.put("Serpent of the Endless Sea", new String[] {"Serpent_of_the_Endless_Sea"});