forked from External/mage
Implemented Allosaurus Shepherd and Blessed Sanctuary (#6711)
* added allosaurus shepherd and blessed sanctuary * fixed nonascii apostrophes * added continuous effect dependency
This commit is contained in:
parent
785be83484
commit
40036271da
10 changed files with 264 additions and 24 deletions
|
|
@ -27,7 +27,11 @@ public class PreventAllNonCombatDamageToAllEffect extends PreventionEffectImpl {
|
|||
super(duration, Integer.MAX_VALUE, false);
|
||||
this.filter = filter;
|
||||
this.andToYou = andToYou;
|
||||
staticText = "Prevent all non combat damage that would be dealt to " + (andToYou ? "you and " : "") + filter.getMessage() + ' ' + duration.toString();
|
||||
staticText = "Prevent all non combat damage that would be dealt to " + (andToYou ? "you and " : "") + filter.getMessage();
|
||||
|
||||
if (duration != Duration.WhileOnBattlefield) {
|
||||
staticText += ' ' + duration.toString();
|
||||
}
|
||||
}
|
||||
|
||||
private PreventAllNonCombatDamageToAllEffect(final PreventAllNonCombatDamageToAllEffect effect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue