(final int lifePayment, final boolean effect, SpellAbility cause)
| 561 | } |
| 562 | |
| 563 | public final boolean canPayLife(final int lifePayment, final boolean effect, SpellAbility cause) { |
| 564 | if (lifePayment > 0 && life < lifePayment) { |
| 565 | return false; |
| 566 | } |
| 567 | return lifePayment <= 0 || !StaticAbilityCantGainLosePayLife.anyCantPayLife(this, effect, cause); |
| 568 | } |
| 569 | |
| 570 | public final boolean payLife(final int lifePayment, final SpellAbility cause, final boolean effect) { |
| 571 | // fast check for pay zero life |
no test coverage detected