mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- JOU: Added Daring Thief (there is an UI bug, see http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=6333&start=2835#p150788)
This commit is contained in:
@@ -1523,6 +1523,9 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
|
|
||||||
public SpellAbility getParentTargetingCard() {
|
public SpellAbility getParentTargetingCard() {
|
||||||
SpellAbility parent = this.getParent();
|
SpellAbility parent = this.getParent();
|
||||||
|
if (parent instanceof WrappedAbility) {
|
||||||
|
parent = ((WrappedAbility) parent).getWrappedAbility();
|
||||||
|
}
|
||||||
while (parent != null) {
|
while (parent != null) {
|
||||||
if (parent.targetChosen.isTargetingAnyCard())
|
if (parent.targetChosen.isTargetingAnyCard())
|
||||||
return parent;
|
return parent;
|
||||||
|
|||||||
Reference in New Issue
Block a user