mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Added Goblin Offensive and it's LQ pic url.
This commit is contained in:
@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
|
||||
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
||||
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||
goblin_offensive.jpg http://www.wizards.com/global/images/magic/general/goblin_offensive.jpg
|
||||
stream_of_life.jpg http://www.wizards.com/global/images/magic/general/stream_of_life.jpg
|
||||
vitalizing_cascade.jpg http://www.wizards.com/global/images/magic/general/vitalizing_cascade.jpg
|
||||
savage_twister.jpg http://www.wizards.com/global/images/magic/general/savage_twister.jpg
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Goblin Offensive
|
||||
X 1 R R
|
||||
Sorcery
|
||||
no text
|
||||
|
||||
Stream of Life
|
||||
X G
|
||||
Sorcery
|
||||
|
||||
@@ -17469,6 +17469,41 @@ public class CardFactory implements NewConstants {
|
||||
}
|
||||
//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Goblin Offensive"))
|
||||
{
|
||||
final SpellAbility spell = new Spell(card){
|
||||
private static final long serialVersionUID = -8830760963758230870L;
|
||||
|
||||
public void resolve()
|
||||
{
|
||||
for (int i = 0; i < card.getXManaCostPaid(); i ++)
|
||||
{
|
||||
makeToken();
|
||||
}
|
||||
card.setXManaCostPaid(0);
|
||||
}
|
||||
|
||||
public void makeToken()
|
||||
{
|
||||
CardFactoryUtil.makeToken("Goblin", "R 1 1 Goblin", card, "R", new String[]{"Creature", "Goblin"}, 1, 1, new String[] {""});
|
||||
}
|
||||
|
||||
public boolean canPlayAI()
|
||||
{
|
||||
final int maxX = ComputerUtil.getAvailableMana().size() - 3;
|
||||
return maxX > 2;
|
||||
}
|
||||
};
|
||||
spell.setDescription("Put X 1/1 red Goblin creature tokens onto the battlefield.");
|
||||
spell.setStackDescription("Goblin Offensive - put X 1/1 red Goblin creature tokens onto the battlefield.");
|
||||
|
||||
card.clearSpellAbility();
|
||||
card.addSpellAbility(spell);
|
||||
}
|
||||
//*************** END ************ END **************************
|
||||
|
||||
// Cards with Cycling abilities
|
||||
// -1 means keyword "Cycling" not found
|
||||
if(hasKeyword(card, "Cycling") != -1) {
|
||||
|
||||
Reference in New Issue
Block a user