mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
compilation error fix
This commit is contained in:
parent
4d6b48b661
commit
ba0925dc62
1 changed files with 0 additions and 14 deletions
|
@ -80,20 +80,6 @@ public class BoostEnchantedEffect extends ContinuousEffectImpl<BoostEnchantedEff
|
|||
return new BoostEnchantedEffect(this);
|
||||
}
|
||||
|
||||
private static boolean isCanKill(DynamicValue toughness) {
|
||||
if (toughness instanceof StaticValue) {
|
||||
return toughness.calculate(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 boolean apply(Game game, Ability source) {
|
||||
Permanent enchantment = game.getPermanent(source.getSourceId());
|
||||
|
|
Loading…
Reference in a new issue