forked from External/mage
* Added logic to remove control effects that refer to permanents of a player that leaves the game.
This commit is contained in:
parent
da9e9a1180
commit
d85b9943f1
3 changed files with 167 additions and 0 deletions
|
|
@ -1066,6 +1066,10 @@ public class ContinuousEffects implements Serializable {
|
|||
}
|
||||
}
|
||||
|
||||
public HashSet<Ability> getLayeredEffectAbilities(ContinuousEffect effect) {
|
||||
return layeredEffects.getAbility(effect.getId());
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a continuous ability with a reference to a sourceId. It's used for
|
||||
* effects that cease to exist again So this effects were removed again
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue