mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Update Card.java
This commit is contained in:
@@ -3609,13 +3609,11 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else if (hasState(CardStateName.Secondary) && state.getStateName() == CardStateName.Original) {
|
||||||
// Adventure and Omen may only be cast not from Battlefield
|
// Adventure and Omen may only be cast not from Battlefield
|
||||||
if (hasState(CardStateName.Secondary) && state.getStateName() == CardStateName.Original) {
|
for (SpellAbility sa : getState(CardStateName.Secondary).getSpellAbilities()) {
|
||||||
for (SpellAbility sa : getState(CardStateName.Secondary).getSpellAbilities()) {
|
if (mana == null || mana == sa.isManaAbility()) {
|
||||||
if (mana == null || mana == sa.isManaAbility()) {
|
list.add(sa);
|
||||||
list.add(sa);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user