mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
*Fixed Mad Auntie being able to target itself for regeneration.
*Added Smokespew Invoker,Overgrown Battlement
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user