Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The deck analysis should recognize Phyrexian mana #40

Open
Dabil opened this issue Feb 17, 2012 · 3 comments
Open

The deck analysis should recognize Phyrexian mana #40

Dabil opened this issue Feb 17, 2012 · 3 comments

Comments

@Dabil
Copy link
Contributor

Dabil commented Feb 17, 2012

I added a field isp to the card structure that will be used to recognize Phyrexian mana. That way it can be displayed in the deck analysis with the correct amount of cards.

@jamuraa
Copy link
Owner

jamuraa commented Feb 17, 2012

Realistically, we shouldn't use these fields anyway, and just calculate the colors of the cards from their mana cost.

@Dabil
Copy link
Contributor Author

Dabil commented Feb 17, 2012

I was wondering why you didn't already do that. I thought it might be a speed thing, or a code readibility thing, or maybe it just simplified the algorythm. So I thought I would just follow the convention.

@jamuraa
Copy link
Owner

jamuraa commented Feb 17, 2012

It is legacy from the older code. I don't know why it was included in
the code which I inherited.

Michael Janssen --- Jamuraa --- jamuraa@base0.net

On Fri, Feb 17, 2012 at 11:54 AM, Dabil
reply@reply.github.com
wrote:

I was wondering why you didn't already do that. I thought it might be a speed thing, or a code readibility thing. So I thought I would just follow the convention.


Reply to this email directly or view it on GitHub:
#40 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants