Fixed tooltip text of Angus Mackenzie and added Blistering Firecat.

This commit is contained in:
LevelX2 2014-08-17 11:23:27 +02:00
parent a2b18c3759
commit 53465ec0c9
5 changed files with 88 additions and 5 deletions

View file

@ -88,7 +88,8 @@ public class ActivateIfConditionActivatedAbility extends ActivatedAbilityImpl {
sb.append(" Activate this ability only ");
}
if (condition.toString() != null) {
if (!condition.toString().startsWith("during")) {
if (!condition.toString().startsWith("during") &&
!condition.toString().startsWith("before")) {
sb.append("if ");
}
sb.append(condition.toString()).append(".");

View file

@ -1,12 +1,10 @@
/*
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mage.abilities.decorator;
import java.util.UUID;
import mage.constants.Zone;
import mage.abilities.ActivatedAbilityImpl;
import mage.abilities.condition.Condition;
import mage.abilities.costs.Cost;
@ -15,6 +13,7 @@ import mage.abilities.costs.mana.ManaCosts;
import mage.abilities.effects.Effect;
import mage.abilities.effects.Effects;
import mage.constants.EffectType;
import mage.constants.Zone;
import mage.game.Game;
/**

View file

@ -90,6 +90,9 @@ public class PreventAllDamageByAllEffect extends PreventionEffectImpl {
@Override
public String getText(Mode mode) {
if (staticText != null && !staticText.isEmpty()) {
return staticText;
}
StringBuilder sb = new StringBuilder("Prevent all ");
if (onlyCombat) {
sb.append("combat ");