mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
*Updated to triggers
Admonition Angel Harbor guardian Synod Sanctum *You can now set the trigger parameter "Optional" to "OpponentDecides". Exactly what it says on the tin. *Any AbilityFactory can now remember it's targets.Simply add a "RememberTargets$ True" parameter to make use of it. Also available is a "ForgetOtherTargets$ True" parameter. This will go far to implement Imprint mechanics, as well as things like Synod Sanctum,Admonition Angel and the like. *Had GameAction.moveTo() clear tapped status of moved cards. *Modded AF_ChangeZone to handle multiple cards as Defined.
This commit is contained in:
@@ -67,6 +67,13 @@ public class GameAction {
|
||||
// todo: add attachment code here
|
||||
}
|
||||
|
||||
if (!zone.is(Constant.Zone.Battlefield))
|
||||
{
|
||||
//Other characteristics should be cleared here also.
|
||||
c.setTapped(false);
|
||||
c.clearRemembered();
|
||||
}
|
||||
|
||||
//Run triggers
|
||||
HashMap<String,Object> runParams = new HashMap<String,Object>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user