- Fixed Biomantic Mastery

This commit is contained in:
swordshine
2014-04-21 06:41:57 +00:00
parent c487103715
commit bcba7b7c3b
2 changed files with 10 additions and 2 deletions

View File

@@ -486,6 +486,13 @@ public class AbilityUtils {
}
return CardFactoryUtil.playerXCount(players, calcX[1], card) * multiplier;
}
if (calcX[0].startsWith("ThisTargetedPlayer")) {
final ArrayList<Player> players = new ArrayList<Player>();
if (null != ability) {
Iterables.addAll(players, ability.getTargets().getTargetPlayers());
}
return CardFactoryUtil.playerXCount(players, calcX[1], card) * multiplier;
}
if (calcX[0].startsWith("TargetedObjects")) {
final List<GameObject> objects = new ArrayList<GameObject>();
// Make list of all targeted objects starting with the root SpellAbility