MCPcopy Create free account
hub / github.com/Card-Forge/forge / getEffectSource

Method getEffectSource

forge-game/src/main/java/forge/game/card/Card.java:7146–7151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7144 }
7145
7146 public Card getEffectSource() {
7147 if (effectSourceAbility != null) {
7148 return effectSourceAbility.getHostCard();
7149 }
7150 return effectSource;
7151 }
7152 public SpellAbility getEffectSourceAbility() {
7153 return effectSourceAbility;
7154 }

Callers 15

copyGameStateMethod · 0.95
canTargetSpellAbilityMethod · 0.95
toUnsuppressedStringMethod · 0.95
getAbilityTextMethod · 0.95
onPlayerLostMethod · 0.80
getDescriptionMethod · 0.80
toStringMethod · 0.80
copyCardMethod · 0.80
getLKICopyMethod · 0.80
cardHasPropertyMethod · 0.80
handleExiledWithMethod · 0.80

Calls 1

getHostCardMethod · 0.65

Tested by

no test coverage detected