"!= 1000" needed to be changed to enum.
This commit is contained in:
@@ -2057,7 +2057,7 @@ MTGCardInstance * AIPlayerBaka::FindCardToPlay(ManaCost * pMana, const char * ty
|
|||||||
{
|
{
|
||||||
int hasTarget = chooseTarget(tc,NULL,NULL,true);
|
int hasTarget = chooseTarget(tc,NULL,NULL,true);
|
||||||
if(
|
if(
|
||||||
(tc->maxtargets > hasTarget && tc->maxtargets > 1 && !tc->targetMin && tc->maxtargets != 1000) ||//target=<3>creature
|
(tc->maxtargets > hasTarget && tc->maxtargets > 1 && !tc->targetMin && tc->maxtargets != TargetChooser::UNLITMITED_TARGETS) ||//target=<3>creature
|
||||||
(tc->maxtargets == TargetChooser::UNLITMITED_TARGETS && hasTarget < 1)//target=creatures
|
(tc->maxtargets == TargetChooser::UNLITMITED_TARGETS && hasTarget < 1)//target=creatures
|
||||||
)
|
)
|
||||||
hasTarget = 0;
|
hasTarget = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user