mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
fixed issue with TargetedPlayerCtrl in filterListByType
This commit is contained in:
@@ -3,8 +3,7 @@ ManaCost:4 R
|
|||||||
Types:Instant
|
Types:Instant
|
||||||
Text:no text
|
Text:no text
|
||||||
A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Player | NumDmg$ 4 | SubAbility$ DmgAll | SpellDescription$ CARDNAME deals 4 damage to target player and 1 damage to each creature that player controls.
|
A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Player | NumDmg$ 4 | SubAbility$ DmgAll | SpellDescription$ CARDNAME deals 4 damage to target player and 1 damage to each creature that player controls.
|
||||||
#SVar:DmgAll:DB$ DamageAll | Cost$ 0 | NumDmg$ 1 | ValidCards$ Creature.TargetedPlayerCtrl
|
SVar:DmgAll:DB$ DamageAll | Cost$ 0 | NumDmg$ 1 | ValidCards$ Creature.TargetedPlayerCtrl
|
||||||
SVar:DmgAll:DB$ DamageAll | Cost$ 0 | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Targeted
|
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/chandras_fury.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/chandras_fury.jpg
|
||||||
|
|||||||
@@ -2605,7 +2605,7 @@ public class AbilityFactory {
|
|||||||
type = type.replace("Triggered", "Card");
|
type = type.replace("Triggered", "Card");
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (type.contains("Targeted")) {
|
} else if (type.startsWith("Targeted")) {
|
||||||
source = null;
|
source = null;
|
||||||
final SpellAbility parent = AbilityFactory.findParentsTargetedCard(sa);
|
final SpellAbility parent = AbilityFactory.findParentsTargetedCard(sa);
|
||||||
if (parent != null) {
|
if (parent != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user