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

Method isAttacking

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

Source from the content-addressed store, hash-verified

7937 }
7938
7939 public boolean isAttacking() {
7940 if (getCombatLKI() != null) {
7941 return getCombatLKI().isAttacker;
7942 }
7943 return getGame().getCombat().isAttacking(this);
7944 }
7945
7946 public boolean ignoreLegendRule() {
7947 // not legendary

Callers 15

initFromGameMethod · 0.45
addCardMethod · 0.45
cardHasPropertyMethod · 0.45
drawCardWithOverlaysMethod · 0.45
assignCombatDamageMethod · 0.45
alphaStrikeMethod · 0.45
onCardSelectedMethod · 0.45
getActivateActionMethod · 0.45
onCardSelectedMethod · 0.45
getActivateActionMethod · 0.45
displayIconOverlayMethod · 0.45

Calls 3

getCombatLKIMethod · 0.95
getGameMethod · 0.95
getCombatMethod · 0.45

Tested by

no test coverage detected