Erwan
- Added crude possibility to search for the library (see Diabolic tutor)
This commit is contained in:
@@ -469,6 +469,7 @@ int CreatureTargetChooser::canTarget(Targetable * target){
|
||||
}
|
||||
|
||||
|
||||
/* TargetzoneChooser targets everything in a given zone */
|
||||
TargetZoneChooser::TargetZoneChooser(MTGCardInstance * card, int _maxtargets){
|
||||
init(NULL,0);
|
||||
source = card;
|
||||
@@ -511,6 +512,14 @@ OutputDebugString ("CHECKING INTERRUPTIBLE\n");
|
||||
}
|
||||
|
||||
|
||||
int TargetZoneChooser::targetsZone(MTGGameZone * z){
|
||||
for (int i = 0; i < nbzones; i++){
|
||||
if (zones[i] == z) return 1;
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Player Target */
|
||||
int PlayerTargetChooser::canTarget(Targetable * target){
|
||||
if (target->typeAsTarget() == TARGET_PLAYER){
|
||||
|
||||
Reference in New Issue
Block a user