forked from External/mage
Fixed that surge craeted exceptions for rule tooltip text generation.
This commit is contained in:
parent
6100609ae2
commit
1e89fb60d1
4 changed files with 20 additions and 14 deletions
|
|
@ -57,12 +57,13 @@ public class SurgeAbility extends SpellAbility {
|
|||
this.spellAbilityType = SpellAbilityType.BASE_ALTERNATE;
|
||||
this.timing = card.getSpellAbility().getTiming();
|
||||
this.setRuleAtTheTop(true);
|
||||
rule = "Surge " + surgeCosts
|
||||
this.rule = "Surge " + surgeCosts
|
||||
+ " <i>(You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.)</i>";
|
||||
}
|
||||
|
||||
public SurgeAbility(final SurgeAbility ability) {
|
||||
super(ability);
|
||||
this.rule = ability.rule;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue