mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added Hand of the Praetors - Removed extra period (.) from Stalwart Shield Bearers text.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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_honor.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/hannas_custody.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/harabaz_druid.txt -text svneol=native#text/plain
|
||||
|
||||
9
res/cardsfolder/hand_of_the_praetors.txt
Normal file
9
res/cardsfolder/hand_of_the_praetors.txt
Normal 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
|
||||
@@ -4,7 +4,7 @@ Types:Creature Human Soldier
|
||||
Text:no text
|
||||
PT:0/3
|
||||
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:Picture:http://www.wizards.com/global/images/magic/general/stalwart_shield_bearers.jpg
|
||||
End
|
||||
|
||||
@@ -408,6 +408,7 @@ public class GameActionUtil {
|
||||
playCard_Fable_of_Wolf_and_Owl(c);
|
||||
playCard_Kor_Firewalker(c);
|
||||
playCard_Curse_of_Wizardry(c);
|
||||
playCard_Hand_of_the_Praetors(c);
|
||||
|
||||
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) {
|
||||
final String controller = c.getController();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user