mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fix typos in Glittering Lion abilities rules
This commit is contained in:
parent
a90276b55b
commit
ee74d76a3e
2 changed files with 8 additions and 3 deletions
|
@ -35,9 +35,9 @@ public final class GlitteringLion extends CardImpl {
|
|||
// Prevent all damage that would be dealt to Glittering Lion.
|
||||
this.addAbility(GlitteringLionAbility.getInstance());
|
||||
// {3}: Until end of turn, Glittering Lion loses "Prevent all damage that would be dealt to Glittering Lion." Any player may activate this ability.
|
||||
SimpleActivatedAbility ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseAbilitySourceEffect(GlitteringLionAbility.getInstance(), Duration.EndOfTurn).setText("Until end of turn, {this} loses \"Prevent all damage that would be dealt to {this}.\""), new ManaCostsImpl("{3}"));
|
||||
SimpleActivatedAbility ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseAbilitySourceEffect(GlitteringLionAbility.getInstance(), Duration.EndOfTurn).setText("Until end of turn, {this} loses \"Prevent all damage that would be dealt to {this}.\" Any player may activate this ability"), new ManaCostsImpl("{3}"));
|
||||
ability2.setMayActivate(TargetController.ANY);
|
||||
ability2.addEffect(new InfoEffect("Any player may activate this ability"));
|
||||
// ability2.addEffect(new InfoEffect("Any player may activate this ability"));
|
||||
this.addAbility(ability2);
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,12 @@ public class PreventAllDamageToSourceEffect extends PreventionEffectImpl {
|
|||
|
||||
public PreventAllDamageToSourceEffect(Duration duration) {
|
||||
super(duration, Integer.MAX_VALUE, false);
|
||||
staticText = "Prevent all damage that would be dealt to {this} " + duration.toString();
|
||||
//Some durations have no text
|
||||
if ( duration.toString().length()>0){
|
||||
staticText = "Prevent all damage that would be dealt to {this} " + duration.toString();
|
||||
} else {
|
||||
staticText = "Prevent all damage that would be dealt to {this}";
|
||||
}
|
||||
}
|
||||
|
||||
public PreventAllDamageToSourceEffect(final PreventAllDamageToSourceEffect effect) {
|
||||
|
|
Loading…
Reference in a new issue