mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
[NCC] Implemented Life of the Party
This commit is contained in:
parent
913f88d573
commit
04dbdcc1db
4 changed files with 122 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ public interface ContinuousEffect extends Effect {
|
|||
|
||||
void discard();
|
||||
|
||||
void setDuration(Duration duration);
|
||||
ContinuousEffect setDuration(Duration duration);
|
||||
|
||||
Duration getDuration();
|
||||
|
||||
|
|
|
|||
|
|
@ -99,8 +99,9 @@ public abstract class ContinuousEffectImpl extends EffectImpl implements Continu
|
|||
}
|
||||
|
||||
@Override
|
||||
public void setDuration(Duration duration) {
|
||||
public ContinuousEffectImpl setDuration(Duration duration) {
|
||||
this.duration = duration;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue