mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
More code cleanup
This commit is contained in:
@@ -1353,10 +1353,11 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
String announce = getParam("Announce");
|
String announce = getParam("Announce");
|
||||||
if (StringUtils.isBlank(announce)) return false;
|
if (StringUtils.isBlank(announce)) return false;
|
||||||
String[] announcedOnes = TextUtil.split(announce, ',');
|
String[] announcedOnes = TextUtil.split(announce, ',');
|
||||||
for(String a : announcedOnes) {
|
for (String a : announcedOnes) {
|
||||||
if( a.trim().equalsIgnoreCase(variable))
|
if (a.trim().equalsIgnoreCase(variable)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -338,7 +338,8 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
|||||||
}
|
}
|
||||||
if (sp.isCopied()) {
|
if (sp.isCopied()) {
|
||||||
si = this.push(sp);
|
si = this.push(sp);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
if (sp.isMultiKicker()) {
|
if (sp.isMultiKicker()) {
|
||||||
final Cost costMultikicker = new Cost(sp.getMultiKickerManaCost(), false);
|
final Cost costMultikicker = new Cost(sp.getMultiKickerManaCost(), false);
|
||||||
boolean hasPaid = false;
|
boolean hasPaid = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user