forked from External/mage
parent
1a3d5923de
commit
7233061ae3
133 changed files with 590 additions and 676 deletions
|
|
@ -293,20 +293,6 @@ public abstract class ContinuousEffectImpl extends EffectImpl implements Continu
|
|||
return sublayer;
|
||||
}
|
||||
|
||||
protected static boolean isCanKill(DynamicValue toughness) {
|
||||
if (toughness instanceof StaticValue) {
|
||||
return toughness.calculate(null, null, null) < 0;
|
||||
}
|
||||
if (toughness instanceof SignInversionDynamicValue) {
|
||||
// count this class as used for "-{something_positive}"
|
||||
return true;
|
||||
}
|
||||
if (toughness instanceof DomainValue) {
|
||||
return ((DomainValue) toughness).getAmount() < 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<MageObjectReference> getAffectedObjects() {
|
||||
return affectedObjectList;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue