corrected a goof up i made in evolve, i should have been comparing the events card controller to source controller to determine "under your control"

This commit is contained in:
omegablast2002@yahoo.com
2013-01-26 16:52:34 +00:00
parent f45c8e1d41
commit 3443c8d075

View File

@@ -979,7 +979,6 @@ public:
void ButtonPressed(int controllerId, int controlId);
};
//counters
class AACounter: public ActivatedAbility
{
@@ -5327,7 +5326,7 @@ public:
WEventZoneChange * enters = (WEventZoneChange *) event;
if (enters->to == game->currentlyActing()->game->inPlay
&& (enters->from != game->currentlyActing()->opponent()->game->inPlay && enters->from != game->currentlyActing()->game->inPlay) //cards changing from inplay to inplay don't re-enter battlefield
&& game->currentlyActing() == source->controller() && enters->card->isCreature())
&& enters->card->controller() == source->controller() && enters->card->isCreature())
{
if(enters->card != source && (enters->card->power > source->power || enters->card->toughness > source->toughness))
{