Where are the hardcoded cards?

Discute about general card coding keyword, ask questions and get answer about the mechanism, about the guideline, the direction we want to go...etc...
Post Reply
zhdarkstar
Posts: 16
Joined: Mon Jun 29, 2009 7:13 pm

Where are the hardcoded cards?

Post by zhdarkstar » Mon Dec 03, 2012 8:14 pm

Where in the source can I find the hardcoded cards? I want to try coding a couple cards that aren't feasible at the moment with the current CardCode.

The next cards I want to work on are Urza's Armor and Guardian Seraph. If UA was reprinted, it would read "You have absorb 1" while GS grants a psuedo-absorb but only against sources from your opponent. I figure that those two should be really easy to make. Just need to know where to tinker with the code so I don't break everything in the process.

KarloxLoKo
Posts: 64
Joined: Thu May 07, 2009 10:18 am
Location: Shandalar

Re: Where are the hardcoded cards?

Post by KarloxLoKo » Fri Dec 07, 2012 12:17 pm

All the hardcoded cards are in MTGAbility.cpp starting in line 3450.
MPR full collection owner!

Yo no quiero firma.
I Don't want signature.
It's all fun and games until someone loses an eye.

Post Reply