It is currently 01 Nov 2025, 09:24
   
Text Size

Snow mana

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins

Snow mana

Postby Sloth » 16 Nov 2009, 17:11

I toyed around with snow mana today and there are still some issues:

- I can't use snow mana from a snow land (for example Boreal Shelf) as colored mana. Not directly and not via the mana pool.
- If I have snow mana in my mana pool and I want to cast a colored spell, I click on the mana pool and I get asked how I want to use the mana. If I chose snow, weird things happen: I get asked again (the same window), or more than one mana is subtracted from the cost. In the end the snow mana is still in my pool and I can use it again.

By the way: Using abilities with snow mana works fine and these creatures can be added:

cards.txt:
Code: Select all
Boreal Griffin
3 W W
Snow Creature Griffin
no text
3/2
Flying
KPump S:First Strike

Frost Raptor
2 U
Snow Creature Bird
no text
2/2
Flying
KPump S S:Shroud

Goblin Rimerunner
2 R
Snow Creature Goblin Warrior
no text
2/2
TgtKPump T:This creature cannot block
KPump S:Haste

Phyrexian Snowcrusher
6
Snow Artifact Creature Juggernaut
no text
6/5
This card attacks each turn if able.
PTPump 1 S:+1/+0

Rimebound Dead
B
Snow Creature Skeleton
no text
1/1
RegenerateMe:S

Phyrexian Ironfoot
3
Snow Artifact Creature Construct
no text
3/4
This card doesn't untap during your untap step.
Untap:1 S
All the pictures are already in card-pictures.txt, but:
Code: Select all
phyrexian_ironfoot.jpg            http://www.wizards.com/global/images/magic/general/phyrexian_ironfoot.jpg
And Boreal Druid is still not a snow creature.

Should I use SVN for little updates in cards.txt and card-pictures.txt in the future? Or should I post my suggestion here, not to mess things up?
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Snow mana

Postby DennisBergkamp » 16 Nov 2009, 17:33

Cool! Feel free to use the SVN (or post them here, either way :) ).
I've just updated the SVN with your changes.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Snow mana

Postby Chris H. » 16 Nov 2009, 17:44

Sloth wrote:Should I use SVN for little updates in cards.txt and card-pictures.txt in the future? Or should I post my suggestion here, not to mess things up?
Thank you for your good work. :)

To make contributions to the SVN you will need to install Eclipse and learn how to build a project with the source code.

Then you will need to find and install the Subclipse plugin and the Subversion binaries. This additional software will allow you to access the SVN files. This will allow you to keep your local copy up to date with the SVN code.

To move your updates in cards.txt and card-pictures.txt files to the SVN you will have to ask for and receive committer's status.

It is up to you if you would like to make this level of commitment to the project. :wink: I have a few minor updates that I would like to make to the SVN. On occasion, I could move some of your contributions over at the same time. :)
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Snow mana

Postby DennisBergkamp » 16 Nov 2009, 18:18

Both of you guys still need committer privileges though... hmm, I think I have owner status, so I could add you as committers.
Just pm me your gmail addresses, and I'll send you both an invite.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Snow mana

Postby Sloth » 16 Nov 2009, 18:53

Since Eclipse runs awfully slow on my pc, I think I will stick to posting my suggestions here on the forum. I'm very gratefull to you Dennis for incoorporating them.

I would be glad if you (or anyone) could move my contributions to SVN if you feel like it, Chris. I will try to make them as complete and bug-free as possible.

Thanks for the great improvements!

PS: One of the snow creatures (Phyrexian Ironfoot) was suggested by Marek14 and not me. So thanks to him!
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Snow mana

Postby Marek14 » 16 Nov 2009, 20:25

Sloth wrote:PS: One of the snow creatures (Phyrexian Ironfoot) was suggested by Marek14 and not me. So thanks to him!
Yay me! :D
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Snow mana

Postby Rob Cashwalker » 16 Nov 2009, 21:34

For someone not making source code changes, you only need a standalone SVN client like TortoiseSVN. It can download the repository as a folder structure, with right-click-menu integration.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 12 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 12 guests

Login Form