- Added Hand of the Praetors - Removed extra period (.) from Stalwart Shield Bearers text.

This commit is contained in:
jendave
2011-08-06 08:19:45 +00:00
parent 79e98e2d2a
commit 214c3e3c41
4 changed files with 55 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -1644,6 +1644,7 @@ res/cardsfolder/hand_of_cruelty.txt -text svneol=native#text/plain
res/cardsfolder/hand_of_death.txt -text svneol=native#text/plain res/cardsfolder/hand_of_death.txt -text svneol=native#text/plain
res/cardsfolder/hand_of_honor.txt -text svneol=native#text/plain res/cardsfolder/hand_of_honor.txt -text svneol=native#text/plain
res/cardsfolder/hand_of_justice.txt -text svneol=native#text/plain res/cardsfolder/hand_of_justice.txt -text svneol=native#text/plain
res/cardsfolder/hand_of_the_praetors.txt -text svneol=native#text/plain
res/cardsfolder/hanna_ships_navigator.txt -text svneol=native#text/plain res/cardsfolder/hanna_ships_navigator.txt -text svneol=native#text/plain
res/cardsfolder/hannas_custody.txt -text svneol=native#text/plain res/cardsfolder/hannas_custody.txt -text svneol=native#text/plain
res/cardsfolder/harabaz_druid.txt -text svneol=native#text/plain res/cardsfolder/harabaz_druid.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Hand of the Praetors
ManaCost:3 B
Types:Creature Zombie
Text:Whenever you cast a spell with infect, target player gets a poison counter.
PT:3/2
K:Infect
K:StaticEffect:Play:Permanents you Control:PTBonus/1/1:Type.Creature!with.Infect!NotSelf:Other creatures you control with infect get +1/+1.
SVar:Rarity:Rare
End

View File

@@ -4,7 +4,7 @@ Types:Creature Human Soldier
Text:no text Text:no text
PT:0/3 PT:0/3
K:Defender K:Defender
K:StaticEffect:Play:Permanents you Control:PTBonus/0/2:Type.Creature!with.Defender!NotSelf:Other creatures you control with defender get +0/+2.. K:StaticEffect:Play:Permanents you Control:PTBonus/0/2:Type.Creature!with.Defender!NotSelf:Other creatures you control with defender get +0/+2.
SVar:Rarity:Common SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/stalwart_shield_bearers.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/stalwart_shield_bearers.jpg
End End

View File

@@ -408,6 +408,7 @@ public class GameActionUtil {
playCard_Fable_of_Wolf_and_Owl(c); playCard_Fable_of_Wolf_and_Owl(c);
playCard_Kor_Firewalker(c); playCard_Kor_Firewalker(c);
playCard_Curse_of_Wizardry(c); playCard_Curse_of_Wizardry(c);
playCard_Hand_of_the_Praetors(c);
AllZone.GameAction.CheckWheneverKeyword(c,"CastSpell",null); AllZone.GameAction.CheckWheneverKeyword(c,"CastSpell",null);
} }
@@ -1191,6 +1192,49 @@ public class GameActionUtil {
} }
} }
public static void playCard_Hand_of_the_Praetors(Card c)
{
final String controller = c.getController();
final PlayerZone play = AllZone.getZone(Constant.Zone.Play, controller);
CardList list = new CardList();
list.addAll(play.getCards());
list = list.getName("Hand of the Praetors");
for (int i=0;i<list.size();i++)
{
final Card card = list.get(i);
if (card.getKeyword().contains("Infect"))
{
final Ability ability = new Ability(card, "0")
{
public void resolve()
{
if (getTargetPlayer().equals(Constant.Player.Human))
AllZone.Human_PoisonCounter.addPoisonCounters(1);
else
AllZone.Computer_PoisonCounter.addPoisonCounters(1);
}
public void chooseTargetAI()
{
setTargetPlayer(Constant.Player.Human);
}
};
ability.setBeforePayMana(CardFactoryUtil.input_targetPlayer(ability));
if (controller.equals(Constant.Player.Human))
AllZone.GameAction.playSpellAbility(ability);
else {
ability.chooseTargetAI();
AllZone.Stack.add(ability);
}
}
}
}
public static void playCard_Emberstrike_Duo(Card c) { public static void playCard_Emberstrike_Duo(Card c) {
final String controller = c.getController(); final String controller = c.getController();