Erwan
- Card Primitives system. Check Royal Assassin in RV, 10E, M10 - Please review, is sets/primitives a good directory? Should we rename MTGCard into "CardPrint"? - Unfortunately for now it is not possible to "override" a Primitive. A card that links to a primitive but also defines new "values" will create its own data and ignore the data in the "linked" primitive for the time being. I hope to solve that at some point...
This commit is contained in:
@@ -162,7 +162,7 @@ void AIStats::Render(){
|
||||
if (stat->value > 0){
|
||||
MTGCard * card = GameApp::collection->getCardById(stat->source);
|
||||
if (card) {
|
||||
sprintf(buffer, "%s %i", card->getName().c_str(), stat->value);
|
||||
sprintf(buffer, "%s %i", card->data->getName().c_str(), stat->value);
|
||||
f->DrawString(buffer,x0+5,10 + 16 *(float)i);
|
||||
i++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user