New Beta Version
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
New Beta Version
by mtgrares » 18 Sep 2008, 17:16
If you read my blog you probably already know this, but I posted a new beta version of my program. (The only reason that it is beta is because it doesn't download all of the card pictures.) http://code.google.com/p/cardforge/downloads/list
20 New Cards: Naturalize, Disenchant, Demystify, Castle, Convalescence, Black Vise, Alert Shu Infantry, Alaborn Grenadier, Archon of Justice, 10 original duel lands (Savannah, etc..), Storm Herd, Festival of Trokin (Yes it is a bunch of random cards.)
Also a bunch of card bug fixes, see readme.html
20 New Cards: Naturalize, Disenchant, Demystify, Castle, Convalescence, Black Vise, Alert Shu Infantry, Alaborn Grenadier, Archon of Justice, 10 original duel lands (Savannah, etc..), Storm Herd, Festival of Trokin (Yes it is a bunch of random cards.)
Also a bunch of card bug fixes, see readme.html
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: New Beta Version
by GandoTheBard » 18 Sep 2008, 21:45
So this means you've fixed the X spell algorithm? Because there are a ton of X spells that could be done.
Also while you are at the Black Vise quality cards how bout some Necropotence, The Rack, Hypnotic Specter, Mind Twist?
Also while you are at the Black Vise quality cards how bout some Necropotence, The Rack, Hypnotic Specter, Mind Twist?
visit my personal homepage here: http://outofthebrokensky.com
Listen to my podcast with famed AJ_Impy "Freed from the Real" on http://puremtgo.com
Listen to my podcast with famed AJ_Impy "Freed from the Real" on http://puremtgo.com
-
GandoTheBard - Tester
- Posts: 1043
- Joined: 06 Sep 2008, 18:43
- Has thanked: 0 time
- Been thanked: 0 time
Re: New Beta Version
by jpb » 18 Sep 2008, 21:59
Black Vise, whoohoo! This update is a great addition. Thanks forge!
- jpb
- Posts: 132
- Joined: 05 Sep 2008, 13:12
- Has thanked: 0 time
- Been thanked: 0 time
Re: New Beta Version
by Mr.Chaos » 19 Sep 2008, 05:46
You added a lot of enchantment/artifact removal for white and 1 for green, how about doing some for red?
Shatter comes to mind.
Because, with the arrival of Black Vise, all colors are SCREAMING for artifact removal.
Things just got interesting. Very interesting.
Just my luck?
First 2 random decks with this new beta had the ai play Black Vise within 3 turns.
Time to add Naturalize to all my green decks as a standard card.
Song of the moment: Motörhead - The game.
Shatter comes to mind.
Because, with the arrival of Black Vise, all colors are SCREAMING for artifact removal.
Things just got interesting. Very interesting.
Just my luck?
First 2 random decks with this new beta had the ai play Black Vise within 3 turns.
Time to add Naturalize to all my green decks as a standard card.
Song of the moment: Motörhead - The game.
= coder at work, according to a coder.It does explain some of the bugs.
- Mr.Chaos
- Tester
- Posts: 625
- Joined: 06 Sep 2008, 08:15
- Has thanked: 0 time
- Been thanked: 0 time
Re: New Beta Version
by jpb » 19 Sep 2008, 07:48
Code for shatter is as follows. In CardFactory.java
- Code: Select all
//*************** START *********** START **************************
else if(cardName.equals("Shatter"))
{
final SpellAbility spell = new Spell(card)
{
public boolean canPlayAI()
{
return (getArtifact().size() != 0) && (AllZone.Phase.getTurn() > 4);
}
public void chooseTargetAI()
{
if(getArtifact().size() != 0){
Card bestArtifact = CardFactoryUtil.AI_getBestArtifact(getArtifact());
setTargetCard(bestArtifact);
}
}//getEnchantment()
CardList getArtifact()
{
CardList list = CardFactoryUtil.AI_getHumanArtifact();
return list;
}//getArtifact()
public void resolve()
{
AllZone.GameAction.destroy(getTargetCard());
}//resolve()
};
Input runtime = new Input()
{
public void showMessage()
{
//Display all artifacts in play
//Allow human player to select which one to destroy
CardList allCards = new CardList();
allCards.addAll(AllZone.Human_Play.getCards());
allCards.addAll(AllZone.Computer_Play.getCards());
//get artifacts
CardList allArtifacts = allCards.getType("Artifact");
stopSetNext(CardFactoryUtil.input_targetSpecific(spell, allArtifacts, "Select target Artifact to destroy."));
}
};
card.clearSpellAbility();
spell.setBeforePayMana(runtime);
card.addSpellAbility(spell);
}//*************** END ************ END **************************
- Code: Select all
Shatter
1 R
Sorcery
Destroy target Artifact.
- jpb
- Posts: 132
- Joined: 05 Sep 2008, 13:12
- Has thanked: 0 time
- Been thanked: 0 time
Re: New Beta Version
by mtgrares » 19 Sep 2008, 16:31
I'll add shatter.
MTG Forge still doesn't support X costed spells like Fireball and Mind Twist. Black Vise has X in its resolution, not in the cost.
MTG Forge still doesn't support X costed spells like Fireball and Mind Twist. Black Vise has X in its resolution, not in the cost.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 41 guests