mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Fix Seek the Beast for Adventures (again) (#7986)
This commit is contained in:
@@ -1090,7 +1090,7 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
|||||||
public final boolean isOnAdventure() {
|
public final boolean isOnAdventure() {
|
||||||
if (!isAdventureCard())
|
if (!isAdventureCard())
|
||||||
return false;
|
return false;
|
||||||
if (getExiledWith() == null)
|
if (!equals(getExiledWith()))
|
||||||
return false;
|
return false;
|
||||||
if (!CardStateName.Secondary.equals(getExiledWith().getCurrentStateName()))
|
if (!CardStateName.Secondary.equals(getExiledWith().getCurrentStateName()))
|
||||||
return false;
|
return false;
|
||||||
@@ -7650,8 +7650,7 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
|||||||
CardState oState = getState(CardStateName.Original);
|
CardState oState = getState(CardStateName.Original);
|
||||||
final List<SpellAbility> abilities = Lists.newArrayList();
|
final List<SpellAbility> abilities = Lists.newArrayList();
|
||||||
for (SpellAbility sa : getSpellAbilities()) {
|
for (SpellAbility sa : getSpellAbilities()) {
|
||||||
//adventure spell check
|
if (sa.isAdventure() && isOnAdventure()) {
|
||||||
if (isAdventureCard() && sa.isAdventure() && isOnAdventure()) {
|
|
||||||
continue; // skip since it's already on adventure
|
continue; // skip since it's already on adventure
|
||||||
}
|
}
|
||||||
//add alternative costs as additional spell abilities
|
//add alternative costs as additional spell abilities
|
||||||
|
|||||||
Reference in New Issue
Block a user