*Added Description parameters to replacement effects that lacked them. Also added Secondary parameter to those.

*When an replacement effect is applied, a log message is now posted.
This commit is contained in:
Hellfish
2012-02-13 21:12:09 +00:00
parent a6b0f132a0
commit 8b1d443f06
12 changed files with 18 additions and 12 deletions

View File

@@ -99,7 +99,13 @@ public class ReplacementHandler {
}
if (chosenRE != null) {
return executeReplacement(runParams, chosenRE, decider);
if(executeReplacement(runParams, chosenRE, decider)) {
AllZone.getGameLog().add("ReplacementEffect", chosenRE.toString(), 2);
return true;
}
else {
return false;
}
} else {
return false;
}