mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
AbilityUtils: Splice only for Spells
This commit is contained in:
@@ -1843,7 +1843,11 @@ public class AbilityUtils {
|
|||||||
public static SpellAbility addSpliceEffects(final SpellAbility sa) {
|
public static SpellAbility addSpliceEffects(final SpellAbility sa) {
|
||||||
final Card source = sa.getHostCard();
|
final Card source = sa.getHostCard();
|
||||||
final Player player = sa.getActivatingPlayer();
|
final Player player = sa.getActivatingPlayer();
|
||||||
|
|
||||||
|
if (!sa.isSpell() || source.isCopiedSpell()) {
|
||||||
|
return sa;
|
||||||
|
}
|
||||||
|
|
||||||
final CardCollectionView hand = player.getCardsIn(ZoneType.Hand);
|
final CardCollectionView hand = player.getCardsIn(ZoneType.Hand);
|
||||||
|
|
||||||
if (hand.isEmpty()) {
|
if (hand.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user