Merge pull request #856 from kevlahnota/master
adjust p/t & fix copying animated land
This commit is contained in:
@@ -23,23 +23,23 @@
|
||||
369072
|
||||
|
||||
#4 x Armada Wurm (RTR), {2}{g}{g}{w}{w}, Creature Wurm, 5/5, trample;
|
||||
999009
|
||||
999009
|
||||
999009
|
||||
999009
|
||||
253587
|
||||
253587
|
||||
253587
|
||||
253587
|
||||
|
||||
#2 x Precinct Captain (RTR), {w}{w}, Creature Human Soldier, 2/2, first strike;
|
||||
999171
|
||||
999171
|
||||
270792
|
||||
270792
|
||||
|
||||
#4 x Wayfaring Temple (RTR), {1}{g}{w}, Creature Elemental, 0/0,
|
||||
999260
|
||||
999260
|
||||
999260
|
||||
999260
|
||||
253539
|
||||
253539
|
||||
253539
|
||||
253539
|
||||
|
||||
#1 x Worldspine Wurm (RTR), {8}{g}{g}{g}, Creature Wurm, 15/15, trample;
|
||||
999262
|
||||
253575
|
||||
|
||||
|
||||
|
||||
@@ -57,14 +57,14 @@
|
||||
369060
|
||||
|
||||
#2 x Chromatic Lantern (RTR), {3}, Artifact,
|
||||
999039
|
||||
999039
|
||||
290542
|
||||
290542
|
||||
|
||||
#4 x Growing Ranks (RTR), {2}{g/w}{g/w}, Enchantment,
|
||||
999106
|
||||
999106
|
||||
999106
|
||||
999106
|
||||
270957
|
||||
270957
|
||||
270957
|
||||
270957
|
||||
|
||||
|
||||
|
||||
@@ -84,26 +84,26 @@
|
||||
369018
|
||||
|
||||
#4 x Forest (RTR), Basic Land Forest,
|
||||
999086
|
||||
999086
|
||||
999086
|
||||
999086
|
||||
289326
|
||||
289326
|
||||
289326
|
||||
289326
|
||||
|
||||
#4 x Plains (RTR), Basic Land Plains,
|
||||
999168
|
||||
999168
|
||||
999168
|
||||
999168
|
||||
289310
|
||||
289310
|
||||
289310
|
||||
289310
|
||||
|
||||
#2 x Temple Garden (RTR), Land Forest Plains,
|
||||
999238
|
||||
999238
|
||||
253681
|
||||
253681
|
||||
|
||||
#4 x Plains (RTR), Basic Land Plains,
|
||||
999265
|
||||
999265
|
||||
999265
|
||||
999265
|
||||
289309
|
||||
289309
|
||||
289309
|
||||
289309
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -386,7 +386,7 @@ void CardGui::Render()
|
||||
char buffer[200];
|
||||
sprintf(buffer, "%i/%i", card->power, card->life);
|
||||
//move up the p/t box by increasing ymody
|
||||
float ymody = (card->isAttacker()||card->isDefenser())?-6.0f:0.0f;
|
||||
float ymody = ((card->isAttacker()||card->isDefenser())&&card->isTapped())?-6.0f:0.0f;
|
||||
renderer->FillRect(actX - (13 * actZ), actY + ymody + 4 * actZ, 25.5f * actZ, 14 * actZ,
|
||||
ARGB(((static_cast<unsigned char>(actA))/2),0,0,0));
|
||||
renderer->DrawRect(actX - (13 * actZ), actY + ymody + 4 * actZ, 25.5f * actZ, 14 * actZ,
|
||||
|
||||
@@ -106,6 +106,7 @@ void MTGCardInstance::copy(MTGCardInstance * card)
|
||||
|
||||
CardPrimitive * data = source->data;
|
||||
basicAbilities = data->basicAbilities;
|
||||
types.clear();//reset types.. fix copying man lands... the copier becomes an unanimated land...
|
||||
for (size_t i = 0; i < data->types.size(); i++)
|
||||
{
|
||||
types.push_back(data->types[i]);
|
||||
@@ -115,7 +116,7 @@ void MTGCardInstance::copy(MTGCardInstance * card)
|
||||
|
||||
manaCost.copy(data->getManaCost());
|
||||
|
||||
setText(""); //The text is retrieved from the data anyways
|
||||
setText(data->text); //The text is retrieved from the data anyways
|
||||
setName(data->name);
|
||||
|
||||
power = data->power;//layer 7a
|
||||
|
||||
Reference in New Issue
Block a user