mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Added RememberAll,RememberWinner,RememberLoser to Flip AF
Modified Crazed Firecat to add counter after all the flips
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user