forked from External/mage
new NextSpellCastHasAbilityEffect
cleanup Wand of the Worldsoul, Flockchaser Phantom to use it text adjustments for gain abilities
This commit is contained in:
parent
817e1a813a
commit
6fafbf0d93
7 changed files with 173 additions and 141 deletions
|
|
@ -983,6 +983,10 @@ public final class CardUtil {
|
|||
return "<i>" + text + "</i> — ";
|
||||
}
|
||||
|
||||
public static String stripReminderText(String text) {
|
||||
return text.endsWith(")</i>") ? text.substring(0, text.indexOf(" <i>(")) : text;
|
||||
}
|
||||
|
||||
public static Set<UUID> getAllSelectedTargets(Ability ability, Game game) {
|
||||
return ability.getModes().getSelectedModes()
|
||||
.stream()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue