- Moved the "putintoplay" rule as a standard MTGAbility
- reverted bad encoding for MTGGuiPlay
This commit is contained in:
wagic.the.homebrew
2009-01-22 13:25:00 +00:00
parent e831a8e400
commit e389ea5062
8 changed files with 95 additions and 18 deletions
+5 -3
View File
@@ -1712,18 +1712,20 @@ int TargetAbility::reactToClick(MTGCardInstance * card){
if (isReactingToClick(card)){
waitingForAnswer = 1;
tc->initTargets();
return 1;
}
}else{
if (card == source){
if (tc->targetsReadyCheck() == TARGET_OK){
waitingForAnswer = 0;
ActivatedAbility::reactToClick(source);
waitingForAnswer = 0;
return ActivatedAbility::reactToClick(source);
}
}else{
tc->toggleTarget(card);
return 1;
}
}
return 1;
return 0;
}
void TargetAbility::Render(){