mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed Arm with AEther to not affect creatures that enter the battlefield after it was cast.
This commit is contained in:
@@ -1023,6 +1023,12 @@ public final class AbilityFactory_Animate {
|
||||
if (params.containsKey("Triggers")) {
|
||||
triggers.addAll(Arrays.asList(params.get("Triggers").split(",")));
|
||||
}
|
||||
|
||||
//sVars to add to the animated being
|
||||
ArrayList<String> sVars = new ArrayList<String>();
|
||||
if (params.containsKey("sVars")) {
|
||||
sVars.addAll(Arrays.asList(params.get("sVars").split(",")));
|
||||
}
|
||||
|
||||
String valid = "";
|
||||
|
||||
@@ -1071,6 +1077,14 @@ public final class AbilityFactory_Animate {
|
||||
AllZone.getTriggerHandler().registerTrigger(parsedTrigger);
|
||||
}
|
||||
}
|
||||
|
||||
//give sVars
|
||||
if (sVars.size() > 0) {
|
||||
for (String s : sVars) {
|
||||
String actualsVar = host.getSVar(s);
|
||||
c.setSVar(s, actualsVar);
|
||||
}
|
||||
}
|
||||
|
||||
final Command unanimate = new Command() {
|
||||
private static final long serialVersionUID = -5861759814760561373L;
|
||||
|
||||
Reference in New Issue
Block a user