* Regeneration abilities - added card hint about activated and used regeneration;

This commit is contained in:
Oleg Agafonov 2020-08-01 21:29:08 +04:00
parent 4ba7c18d43
commit c7595ca476
15 changed files with 244 additions and 87 deletions

View file

@ -1,4 +1,3 @@
package mage.abilities.effects.common;
import mage.abilities.Ability;
@ -10,7 +9,6 @@ import mage.game.permanent.Permanent;
import mage.target.targetpointer.FixedTarget;
/**
*
* @author LevelX2
*/
public class RegenerateAllEffect extends OneShotEffect {
@ -18,7 +16,7 @@ public class RegenerateAllEffect extends OneShotEffect {
private final FilterPermanent filter;
public RegenerateAllEffect(FilterPermanent filter) {
super(Outcome.DestroyPermanent);
super(Outcome.Regenerate);
this.filter = filter;
staticText = "Regenerate each " + filter.getMessage();
}
@ -42,5 +40,4 @@ public class RegenerateAllEffect extends OneShotEffect {
}
return true;
}
}