*Adding "Triggered" to the Defined$ and calculateAmount frameworks.

This commit is contained in:
jendave
2011-08-06 16:02:42 +00:00
parent 845a61b903
commit 86d70ea988
27 changed files with 149 additions and 16 deletions

View File

@@ -74,7 +74,7 @@ public class GameAction {
//Run triggers
HashMap<String,Object> runParams = new HashMap<String,Object>();
// Should the MovedCard be the LKI, aka the original card that came in, not the card that's leaving?
runParams.put("MovedCard", c);
runParams.put("Card", c);
//runParams.put("MovedCard",moving);
runParams.put("Origin", prevZone);
runParams.put("Destination", zone.getZoneName());
@@ -570,7 +570,7 @@ public class GameAction {
//Run triggers
HashMap<String,Object> runParams = new HashMap<String,Object>();
runParams.put("Sacrificed", c);
runParams.put("Card", c);
AllZone.TriggerHandler.runTrigger("Sacrificed", runParams);
}