forked from External/mage
* UnearthAbility - Fixed that unearthed creatures had no haste.
This commit is contained in:
parent
ef83ec2874
commit
9c6db9405a
4 changed files with 28 additions and 21 deletions
|
|
@ -156,7 +156,8 @@ public class ContinuousEffects implements Serializable {
|
|||
case WhileInGraveyard:
|
||||
HashSet<Ability> abilities = layeredEffects.getAbility(effect.getId());
|
||||
for (Ability ability: abilities) {
|
||||
if (ability.isInUseableZone(game, null, false)) {
|
||||
// If e.g. triggerd abilities (non static) created the effect, the ability must not be in usable zone (e.g. Unearth giving Haste effect)
|
||||
if (!(ability instanceof StaticAbility) || ability.isInUseableZone(game, null, false)) {
|
||||
layerEffects.add(effect);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue