mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
remove static fields from AddCardSubtypeAllEffect
This commit is contained in:
parent
da287bb4ed
commit
d6f87d709a
1 changed files with 4 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ import mage.game.permanent.Permanent;
|
|||
|
||||
public class AddCardSubtypeAllEffect extends ContinuousEffectImpl {
|
||||
|
||||
private static FilterPermanent filter;
|
||||
private static SubType addedSubtype;
|
||||
private FilterPermanent filter;
|
||||
private SubType addedSubtype;
|
||||
|
||||
public AddCardSubtypeAllEffect(FilterPermanent _filter, SubType _addedSubtype, DependencyType _dependency) {
|
||||
super(Duration.WhileOnBattlefield, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit);
|
||||
|
|
@ -28,6 +28,8 @@ public class AddCardSubtypeAllEffect extends ContinuousEffectImpl {
|
|||
|
||||
public AddCardSubtypeAllEffect(final AddCardSubtypeAllEffect effect) {
|
||||
super(effect);
|
||||
filter = effect.filter.copy();
|
||||
addedSubtype = effect.addedSubtype;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue