mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
text fixes
This commit is contained in:
parent
814297c83c
commit
c4aa812862
8 changed files with 19 additions and 13 deletions
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.constants.Duration;
|
||||
|
|
@ -15,7 +13,8 @@ public class PreventCombatDamageToSourceEffect extends PreventionEffectImpl {
|
|||
|
||||
public PreventCombatDamageToSourceEffect(Duration duration) {
|
||||
super(duration, Integer.MAX_VALUE, true);
|
||||
staticText = "Prevent all combat damage that would be dealt to {this}" + duration.toString();
|
||||
staticText = "prevent all combat damage that would be dealt to {this}"
|
||||
+ (duration == Duration.EndOfTurn ? " this turn" : "");
|
||||
}
|
||||
|
||||
protected PreventCombatDamageToSourceEffect(final PreventCombatDamageToSourceEffect effect) {
|
||||
|
|
@ -38,4 +37,3 @@ public class PreventCombatDamageToSourceEffect extends PreventionEffectImpl {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue