mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed Biomantic Mastery
This commit is contained in:
@@ -486,6 +486,13 @@ public class AbilityUtils {
|
|||||||
}
|
}
|
||||||
return CardFactoryUtil.playerXCount(players, calcX[1], card) * multiplier;
|
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")) {
|
if (calcX[0].startsWith("TargetedObjects")) {
|
||||||
final List<GameObject> objects = new ArrayList<GameObject>();
|
final List<GameObject> objects = new ArrayList<GameObject>();
|
||||||
// Make list of all targeted objects starting with the root SpellAbility
|
// Make list of all targeted objects starting with the root SpellAbility
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
Name:Biomantic Mastery
|
Name:Biomantic Mastery
|
||||||
ManaCost:4 GU GU GU
|
ManaCost:4 GU GU GU
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
A:SP$ Draw | Cost$ 4 GU GU GU | NumCards$ X | References$ X | SpellDescription$ Draw a card for each creature target player controls, then draw a card for each creature another target player controls.
|
A:SP$ Draw | Cost$ 4 GU GU GU | Defined$ You | ValidTgts$ Player | NumCards$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ Draw a card for each creature target player controls, then draw a card for each creature another target player controls.
|
||||||
SVar:X:Count$TypeOnBattlefield.Creature
|
SVar:DBDraw:DB$ Draw | Defined$ You | ValidTgts$ Player | TargetUnique$ True | NumCards$ X | References$ X
|
||||||
|
SVar:X:ThisTargetedPlayer$Valid Creature.YouCtrl
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/biomantic_mastery.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/biomantic_mastery.jpg
|
||||||
Oracle:({G/U} can be paid with either {G} or {U}.)\nDraw a card for each creature target player controls, then draw a card for each creature another target player controls.
|
Oracle:({G/U} can be paid with either {G} or {U}.)\nDraw a card for each creature target player controls, then draw a card for each creature another target player controls.
|
||||||
Reference in New Issue
Block a user