Laurent - Added 8 cards to SHM (Flow of ideas, Fracturing Gut, Howl of the Night Pack, Poison the Well, Smash to Smithereens, Spiteflame Witch, Thoughweft Gambit, Windbrisk Raptor)

+ Forgot to upload Targetchooser.cpp by R499 :D  (needed for opponentshroud..)
This commit is contained in:
wagic.laurent
2009-06-22 19:50:26 +00:00
parent 1cdeebd3e1
commit be086640eb
4 changed files with 123 additions and 81 deletions

View File

@@ -275,7 +275,8 @@ int TargetChooser::canTarget(Targetable * target){
if (target->typeAsTarget() == TARGET_CARD){
MTGCardInstance * card = (MTGCardInstance *) target;
if (source && card->isInPlay() && (card->has(Constants::SHROUD)|| card->protectedAgainst(source) )) return 0;
return 1;
if (source && card->isInPlay() && (source->controller() != card->controller()) && (card->has(Constants::OPPONENTSHROUD)|| card->protectedAgainst(source) )) return 0;
return 1;
}else if (target->typeAsTarget() == TARGET_STACKACTION){
return 1;
}