- Fixed a possible bug with "UntilHostLeavesPlay" in AF Animate.

This commit is contained in:
Sloth
2012-02-12 19:10:29 +00:00
parent dc141f108c
commit e3a522eba2

View File

@@ -477,6 +477,12 @@ public final class AbilityFactoryAnimate {
final Map<String, String> svars = host.getSVars();
long timest = -1;
//if host is not on the battlefield don't apply
if (params.containsKey("UntilHostLeavesPlay")
&& !AllZoneUtil.isCardInPlay(sa.getSourceCard())) {
return;
}
// AF specific params
int power = -1;
if (params.containsKey("Power")) {