forked from External/mage
Some minor changes.
This commit is contained in:
parent
99f206d536
commit
ffd0c24c9c
8 changed files with 56 additions and 52 deletions
|
|
@ -355,7 +355,7 @@ public class ContinuousEffects implements Serializable {
|
|||
for (Ability ability : abilities) {
|
||||
// for replacment effects of static abilities do not use LKI to check if to apply
|
||||
if (ability.getAbilityType() != AbilityType.STATIC || ability.isInUseableZone(game, null, event)) {
|
||||
if (effect.getDuration() != Duration.OneUse || !effect.isUsed()) {
|
||||
if (!effect.isUsed()) {
|
||||
if (!game.getScopeRelevant()
|
||||
|| effect.hasSelfScope()
|
||||
|| !event.getTargetId().equals(ability.getSourceId())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue