*Fixed Mad Auntie being able to target itself for regeneration.

*Added Smokespew Invoker,Overgrown Battlement
This commit is contained in:
jendave
2011-08-06 05:46:39 +00:00
parent d4d13c7d81
commit 7cc6dfd8cc
3 changed files with 68 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
#Forge
#Sun Aug 15 10:52:51 CEST 2010
gui.laf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
AI.stack.land=false
gui.new=true
stack.offset=tiny
card.images.size=medium
card.scale.larger.than.original=true
card.overlay=true
stack.max.size=3
loss.condition.milling=true
gui.laf.fonts=false

View File

@@ -1,3 +1,19 @@
Overgrown Battlement
1 G
Creature Wall
no text
0/4
Defender
SVar:Rarity:Common
Smokespew Invoker
2 B
Creature Zombie Mutant
no text
3/1
abPumpTgt 7 B:-3/-3
SVar:Rarity:Common
Elvish Vanguard Elvish Vanguard
1 G 1 G
Creature Elf Creature Elf

View File

@@ -6936,7 +6936,7 @@ public class CardFactory_Creatures {
card.addSpellAbility(ability); card.addSpellAbility(ability);
ability.setDescription("tap: Regenerate another target Goblin."); ability.setDescription("tap: Regenerate another target Goblin.");
ability.setBeforePayMana(CardFactoryUtil.input_targetCreature_NoCost_TapAbility(ability)); ability.setBeforePayMana(CardFactoryUtil.input_targetCreature_NoCost_TapAbility_NoTargetSelf(ability));
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START ************************** //*************** START *********** START **************************
@@ -20762,6 +20762,44 @@ public class CardFactory_Creatures {
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Overgrown Battlement")) {
final Ability_Mana ability = new Ability_Mana(card,"tap: add G to your mana pool for each creature with defender you control.") {
private static final long serialVersionUID = 422282090183907L;
@Override
public String mana() {
String res = "";
CardList cl = new CardList(AllZone.getZone(Constant.Zone.Play, card.getController()).getCards());
cl = cl.filter(new CardListFilter() {
public boolean addCard(Card c)
{
return c.hasKeyword("Defender");
}
});
for(int i=0;i<cl.size();i++)
{
res = res + "G ";
}
if(!res.equals(""))
{
res = res.substring(0,res.length()-1);
}
return res;
}//mana()
};//Ability_Mana
card.addSpellAbility(ability);
}//*************** END ************ END **************************
// Cards with Cycling abilities // Cards with Cycling abilities
// -1 means keyword "Cycling" not found // -1 means keyword "Cycling" not found