add Fungusaur (from original base Alpha)

This commit is contained in:
jendave
2011-08-06 09:57:33 +00:00
parent a2f8fa38a6
commit 61586ce80e
3 changed files with 24 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -1615,6 +1615,7 @@ res/cardsfolder/fume_spitter.txt -text svneol=native#text/plain
res/cardsfolder/funeral_charm.txt -text svneol=native#text/plain res/cardsfolder/funeral_charm.txt -text svneol=native#text/plain
res/cardsfolder/fungal_bloom.txt -text svneol=native#text/plain res/cardsfolder/fungal_bloom.txt -text svneol=native#text/plain
res/cardsfolder/fungal_shambler.txt -text svneol=native#text/plain res/cardsfolder/fungal_shambler.txt -text svneol=native#text/plain
res/cardsfolder/fungusaur.txt -text svneol=native#text/plain
res/cardsfolder/furious_assault.txt -text svneol=native#text/plain res/cardsfolder/furious_assault.txt -text svneol=native#text/plain
res/cardsfolder/furnace_spirit.txt -text svneol=native#text/plain res/cardsfolder/furnace_spirit.txt -text svneol=native#text/plain
res/cardsfolder/furnace_whelp.txt -text svneol=native#text/plain res/cardsfolder/furnace_whelp.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,8 @@
Name:Fungusaur
ManaCost:3 G
Types:Creature Fungus Lizard
Text:Whenever Fungusaur is dealt damage, put a +1/+1 counter on it.
PT:2/2
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/fungusaur.jpg
End

View File

@@ -2692,6 +2692,21 @@ public class Card extends MyObservable {
AllZone.Stack.add(ability2); AllZone.Stack.add(ability2);
} }
if(this.getName().equals("Fungusaur")) {
Ability ability2 = new Ability(this, "0") {
@Override
public void resolve() {
addCounter(Counters.P1P1, 1);
}
}; // ability2
StringBuilder sb2 = new StringBuilder();
sb2.append(this.getName()).append(" - gets a +1/+1 counter");
ability2.setStackDescription(sb2.toString());
AllZone.Stack.add(ability2);
}
if(source.getKeyword().contains("Deathtouch") && this.isCreature()) { if(source.getKeyword().contains("Deathtouch") && this.isCreature()) {
AllZone.GameAction.destroy(this); AllZone.GameAction.destroy(this);
//AllZone.Combat.removeFromCombat(card); //AllZone.Combat.removeFromCombat(card);