mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
simplify text gen for DamageCantBePreventedEffect
This commit is contained in:
parent
98f78790f2
commit
02eafaf062
10 changed files with 11 additions and 11 deletions
|
|
@ -9,9 +9,9 @@ import mage.game.events.GameEvent;
|
|||
|
||||
public class DamageCantBePreventedEffect extends ContinuousRuleModifyingEffectImpl {
|
||||
|
||||
public DamageCantBePreventedEffect(Duration duration, String staticText) {
|
||||
public DamageCantBePreventedEffect(Duration duration) {
|
||||
super(duration, Outcome.Benefit);
|
||||
this.staticText = staticText;
|
||||
this.staticText = "damage can't be prevented" + (duration == Duration.EndOfTurn ? " this turn" : "");
|
||||
}
|
||||
|
||||
protected DamageCantBePreventedEffect(final DamageCantBePreventedEffect effect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue