More code cleanup

This commit is contained in:
drdev
2014-09-07 18:31:39 +00:00
parent 1fca98c134
commit b8b26657f9
4 changed files with 7 additions and 5 deletions

View File

@@ -1353,9 +1353,10 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
String announce = getParam("Announce");
if (StringUtils.isBlank(announce)) return false;
String[] announcedOnes = TextUtil.split(announce, ',');
for(String a : announcedOnes) {
if( a.trim().equalsIgnoreCase(variable))
for (String a : announcedOnes) {
if (a.trim().equalsIgnoreCase(variable)) {
return true;
}
}
return false;
}

View File

@@ -338,7 +338,8 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
}
if (sp.isCopied()) {
si = this.push(sp);
} else {
}
else {
if (sp.isMultiKicker()) {
final Cost costMultikicker = new Cost(sp.getMultiKickerManaCost(), false);
boolean hasPaid = false;

View File

@@ -712,7 +712,7 @@ public class HumanPlay {
}
if (isActivatedSa) {
ManaCostAdjustment.adjust(toPay, ability, false);
ManaCostAdjustment.adjust(toPay, ability, false);
}
InputPayMana inpPayment;