Added RememberAll,RememberWinner,RememberLoser to Flip AF

Modified Crazed Firecat to add counter after all the flips
This commit is contained in:
ArsenalNut
2011-08-29 23:57:28 +00:00
parent f3e7deff8f
commit 4e952b5c80
2 changed files with 14 additions and 3 deletions

View File

@@ -355,8 +355,14 @@ public class AbilityFactory_Clash {
//Run triggers
//HashMap<String,Object> runParams = new HashMap<String,Object>();
//runParams.put("Player", player);
if (params.get("RememberAll") != null){
host.addRemembered(host);
}
if (victory) {
if (params.get("RememberWinner") != null){
host.addRemembered(host);
}
if (params.containsKey("WinSubAbility")) {
SpellAbility win = AF_Outcomes.getAbility(host.getSVar(params.get("WinSubAbility")), host);
win.setActivatingPlayer(player);
@@ -367,6 +373,9 @@ public class AbilityFactory_Clash {
//runParams.put("Won","True");
}
else {
if (params.get("RememberLoser") != null){
host.addRemembered(host);
}
if(params.containsKey("LoseSubAbility")) {
SpellAbility lose = AF_Outcomes.getAbility(host.getSVar(params.get("LoseSubAbility")), host);
lose.setActivatingPlayer(player);