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

@@ -1354,9 +1354,10 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
if (StringUtils.isBlank(announce)) return false;
String[] announcedOnes = TextUtil.split(announce, ',');
for (String a : announcedOnes) {
if( a.trim().equalsIgnoreCase(variable))
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;