Forge Beta: 01-18-2013 ver 1.3.5
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Forge Beta: 01-18-2013 ver 1.3.5
by donluca » 19 Jan 2013, 17:16
Max, due to the changes made in CardFactory now the Lotus Bloom suspends correctly but doesn't come into play when the last time counter is removed.
This is because the change made (methinks) made the spell uncastable, so it will never move from the exiled zone into the battlefield.
EDIT 1:Ok, I've fixed it (that was a bit brutal, but whatever)
EDIT 2: I still have to understand how to commit the changes LOL.
I want to test it a bit though, I'll eventually commit later.
This is because the change made (methinks) made the spell uncastable, so it will never move from the exiled zone into the battlefield.
EDIT 1:Ok, I've fixed it (that was a bit brutal, but whatever)
- Code: Select all
private void playFromSuspend() {
final Card c = this;
//Checks if the card is castable. If not, it makes it castable.
if (c.getManaCost().isNoCost())
{
c.addSpellAbility(new SpellPermanent(c));
}
EDIT 2: I still have to understand how to commit the changes LOL.
I want to test it a bit though, I'll eventually commit later.
_______________________________________________________________
Ask not what others can do for you, but what you can do for others
Ask not what others can do for you, but what you can do for others
-
donluca - Posts: 18
- Joined: 18 Jan 2013, 18:36
- Location: Rome, Italy
- Has thanked: 3 times
- Been thanked: 0 time
Re: Forge Beta: 01-18-2013 ver 1.3.5
by timmermac » 19 Jan 2013, 18:55
The deck conformity option does not work for quest mode. I unchecked it, and I'm still limited to 4 of each card.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Forge Beta: 01-18-2013 ver 1.3.5
by Doomlord » 19 Jan 2013, 20:37
The card Cloud Key gives the option to choose Planesswalker or Tribal, which it should not, as the card does not say "choose a type", but rather gives a list of types to choose from, not including those two.
Also, there is a bug with the display of the secound ability of Jace, the Mind Sculptor. When you click on Jace to activate one of his abilities, the cost of his secound ability is not displayed.
Also, there is a bug with the display of the secound ability of Jace, the Mind Sculptor. When you click on Jace to activate one of his abilities, the cost of his secound ability is not displayed.
Re: Forge Beta: 01-18-2013 ver 1.3.5
by friarsol » 19 Jan 2013, 20:44
I'm not really sure that it should. The bypassing restrictions was mostly just for Constructed.timmermac wrote:The deck conformity option does not work for quest mode. I unchecked it, and I'm still limited to 4 of each card.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge Beta: 01-18-2013 ver 1.3.5
by friarsol » 19 Jan 2013, 20:50
I think Max fixed this already, because I don't see that in the dev version.Doomlord wrote:Also, there is a bug with the display of the secound ability of Jace, the Mind Sculptor. When you click on Jace to activate one of his abilities, the cost of his secound ability is not displayed.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge Beta: 01-18-2013 ver 1.3.5
by Max mtg » 20 Jan 2013, 10:10
Thank you, donluca. Your code does add the needed ability for suspeded spells, yet other cards with no manacost affected by a recent change are still unusable, eg Evermind.donluca wrote:Max, due to the changes made in CardFactory now the Lotus Bloom suspends correctly but doesn't come into play when the last time counter is removed.
This is because the change made (methinks) made the spell uncastable, so it will never move from the exiled zone into the battlefield.
EDIT 1:Ok, I've fixed it (that was a bit brutal, but whatever)in Card.java line 1359
- Code: Select all
private void playFromSuspend() {
final Card c = this;
//Checks if the card is castable. If not, it makes it castable.
if (c.getManaCost().isNoCost())
{
c.addSpellAbility(new SpellPermanent(c));
}
EDIT 2: I still have to understand how to commit the changes LOL.
I want to test it a bit though, I'll eventually commit later.
Looks like I took a wrong desicion by not adding the spell that places the permanent onto battlefield to cards with no cost.
When it worked in 1.3.4, the code was checking if spell cost equalled an empty string. And in that case didn't offer that SpellAbility as an option to cast spell from hand. After I changed manacost to use a dedicated class, the comparison against a string calculates to "not equal" at all times, and that ability didn't get filtered out.
To see the changes that made lotus bloom working again, please follow http://svn.slightlymagic.net/websvn/rev ... &peg=19092
As for commiting changes, you may ask any developer to commit your changes (given they are unfrequent), or if you would love to participate in development on a regular basis, come to developers' forum viewforum.php?f=52 and ask for commit rights there.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Forge Beta: 01-18-2013 ver 1.3.5
by donluca » 20 Jan 2013, 17:16
Max the change is fine, Evermind is the only other exception we need to handle as all the others cards have 0 casting cost so they can be played straight away.
I'm going to look at how Splice into Arcane works in Forge and post a fix.
EDIT: Looks like it'll be harder then initially thought
Because we need to set the card as playable when an arcane spell is on the stack, I really can't figure out how this is handled.
It seems that there's a check for whenever you play a card with arcane that controls your hand for cards that can be spliced and you can select them.
I'm going to look at how Splice into Arcane works in Forge and post a fix.
EDIT: Looks like it'll be harder then initially thought

Because we need to set the card as playable when an arcane spell is on the stack, I really can't figure out how this is handled.
It seems that there's a check for whenever you play a card with arcane that controls your hand for cards that can be spliced and you can select them.
_______________________________________________________________
Ask not what others can do for you, but what you can do for others
Ask not what others can do for you, but what you can do for others
-
donluca - Posts: 18
- Joined: 18 Jan 2013, 18:36
- Location: Rome, Italy
- Has thanked: 3 times
- Been thanked: 0 time
Re: Forge Beta: 01-18-2013 ver 1.3.5
by Max mtg » 20 Jan 2013, 18:41
Is it fine?donluca wrote:Max the change is fine, Evermind is the only other exception we need to handle as all the others cards have 0 casting cost so they can be played straight away.
Imagine the card was returned into owner's hand (soon after Lotus Bloom resolved Glint Hawk was played). The card already has that spellpermanent ability. The next time it's clicked that recently added option appears in a list. The next time suspend wait os over that ability is added again.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Forge Beta: 01-18-2013 ver 1.3.5
by Max mtg » 20 Jan 2013, 19:09
1. I've updated the card script for you.Doomlord wrote:The card Cloud Key gives the option to choose Planesswalker or Tribal, which it should not, as the card does not say "choose a type", but rather gives a list of types to choose from, not including those two.
Also, there is a bug with the display of the secound ability of Jace, the Mind Sculptor. When you click on Jace to activate one of his abilities, the cost of his secound ability is not displayed.
2. Fixed in dev version (grab a daily build to see it fixed or wait for about 2 weeks until next beta)
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Forge Beta: 01-18-2013 ver 1.3.5
by donluca » 20 Jan 2013, 19:22
You're absolutely right, didn't think about that case, my bad.Max mtg wrote:Is it fine?
Imagine the card was returned into owner's hand (soon after Lotus Bloom resolved Glint Hawk was played). The card already has that spellpermanent ability. The next time it's clicked that recently added option appears in a list. The next time suspend wait os over that ability is added again.
We may remove the spellpermanent ability whenever the card is in your hand, but that's not a good way to solve the problem.
I think that a new property "boolean isCastable" is required in the Card type to handle those null casting cost in the right way (along with some accessory methods to tell Forge how to behave in each case).
_______________________________________________________________
Ask not what others can do for you, but what you can do for others
Ask not what others can do for you, but what you can do for others
-
donluca - Posts: 18
- Joined: 18 Jan 2013, 18:36
- Location: Rome, Italy
- Has thanked: 3 times
- Been thanked: 0 time
Re: Forge Beta: 01-18-2013 ver 1.3.5
by friarsol » 20 Jan 2013, 19:35
This was working just fine a few days ago, there's no reason to add all this stuff.donluca wrote:You're absolutely right, didn't think about that case, my bad.Max mtg wrote:Is it fine?
Imagine the card was returned into owner's hand (soon after Lotus Bloom resolved Glint Hawk was played). The card already has that spellpermanent ability. The next time it's clicked that recently added option appears in a list. The next time suspend wait os over that ability is added again.
We may remove the spellpermanent ability whenever the card is in your hand, but that's not a good way to solve the problem.
I think that a new property "boolean isCastable" is required in the Card type to handle those null casting cost in the right way (along with some accessory methods to tell Forge how to behave in each case).
Cards with a cost of 0 just need to be handled differently than cards with no cost. Anyway, donluca it looks like you are new and interested in development, we can move further discussions to the developer's corner so the release thread isn't filled up with coding debugging and poking around.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge Beta: 01-18-2013 ver 1.3.5
by Xitax » 20 Jan 2013, 19:36
One game, AI kept returning 2 islands to his hand presumably to pay the morph cost for Fathom Seer, but it didn't flip. AI did this on the same morphed card 2 turns in a row.
On a related note, AI's morphed card is a black picture. Mine are not.
On a related note, AI's morphed card is a black picture. Mine are not.
Re: Forge Beta: 01-18-2013 ver 1.3.5
by friarsol » 20 Jan 2013, 20:48
Ok, I just fixed that in the trunk. Should be in the next nightly release.Xitax wrote:One game, AI kept returning 2 islands to his hand presumably to pay the morph cost for Fathom Seer, but it didn't flip. AI did this on the same morphed card 2 turns in a row.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge Beta: 01-18-2013 ver 1.3.5
by Devilman06 » 21 Jan 2013, 03:18
When I play Hell's Thunder or Ball Lightning and even Mimic Vat with sundial of the infinite and activate Sundial Of The Infinite at end of turn when the ability goes on the stack, At the end of my opponents turn they are sacrificed. Now it is my understanding that this should not happen. When you Activate Sundial of The Infinite at End of turn after the abilities go on the stack you should be able to keep the card/token.
- Devilman06
- Posts: 127
- Joined: 29 Jan 2010, 03:59
- Has thanked: 1 time
- Been thanked: 2 times
Who is online
Users browsing this forum: No registered users and 31 guests