mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Fix Vanguards etc not displaying abilities
This commit is contained in:
@@ -1983,8 +1983,8 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
boolean isNonAura = !type.hasSubtype("Aura");
|
boolean isNonAura = !type.hasSubtype("Aura");
|
||||||
|
|
||||||
for (final SpellAbility sa : state.getSpellAbilities()) {
|
for (final SpellAbility sa : state.getSpellAbilities()) {
|
||||||
// only add abilities not Spell portions of cards
|
// This code block is not shared by instants or sorceries. We don't need to check for permanence.
|
||||||
if (sa == null || sa.isSecondary() || !state.getType().isPermanent()) {
|
if (sa == null || sa.isSecondary()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4321,8 +4321,6 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
/**
|
/**
|
||||||
* use it only for real keywords and not with hidden ones
|
* use it only for real keywords and not with hidden ones
|
||||||
*
|
*
|
||||||
* @param Keyword k
|
|
||||||
* @param CardState state
|
|
||||||
* @return Int
|
* @return Int
|
||||||
*/
|
*/
|
||||||
public final int getKeywordMagnitude(final Keyword k, CardState state) {
|
public final int getKeywordMagnitude(final Keyword k, CardState state) {
|
||||||
|
|||||||
Reference in New Issue
Block a user