mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +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() {
|
||||
SpellAbility parent = this.getParent();
|
||||
if (parent instanceof WrappedAbility) {
|
||||
parent = ((WrappedAbility) parent).getWrappedAbility();
|
||||
}
|
||||
while (parent != null) {
|
||||
if (parent.targetChosen.isTargetingAnyCard())
|
||||
return parent;
|
||||
|
||||
Reference in New Issue
Block a user