Merge pull request #7218 from arcox/br-html-card-fix

Fix line break tags in effect text
This commit is contained in:
Oleg Agafonov 2020-12-25 19:02:44 +01:00 committed by GitHub
commit 053bd88973
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ public final class AgonyWarp extends CardImpl {
// Target creature gets -0/-3 until end of turn.
Effect effect2 = new BoostTargetEffect(-0,-3, Duration.EndOfTurn);
effect2.setText("<br></br>Target creature gets -0/-3 until end of turn");
effect2.setText("<br><br>Target creature gets -0/-3 until end of turn");
effect2.setTargetPointer(SecondTargetPointer.getInstance());
this.getSpellAbility().addEffect(effect2);
target = new TargetCreaturePermanent(new FilterCreaturePermanent("second creature (can be the same as the first)"));

View file

@ -33,7 +33,7 @@ public final class AzoriusPloy extends CardImpl {
// Prevent all combat damage that would be dealt to target creature this turn.
Effect effect2 = new PreventDamageToTargetEffect(Duration.EndOfTurn, true);
effect2.setText("<br></br>Prevent all combat damage that would be dealt to target creature this turn.");
effect2.setText("<br><br>Prevent all combat damage that would be dealt to target creature this turn.");
effect2.setTargetPointer(SecondTargetPointer.getInstance());
this.getSpellAbility().addEffect(effect2);
target = new TargetCreaturePermanent(new FilterCreaturePermanent("second creature (can be the same as the first)"));

View file

@ -32,7 +32,7 @@ public final class MartialGlory extends CardImpl {
// Target creature gets +0/+3 until end of turn.
Effect effect2 = new BoostTargetEffect(0,3, Duration.EndOfTurn);
effect2.setText("<br></br>Target creature gets +0/+3 until end of turn");
effect2.setText("<br><br>Target creature gets +0/+3 until end of turn");
effect2.setTargetPointer(SecondTargetPointer.getInstance());
target = new TargetCreaturePermanent(new FilterCreaturePermanent("second creature (can be the same as the first)"));
this.getSpellAbility().addEffect(effect2);