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

Method isRebalanced

forge-core/src/main/java/forge/StaticData.java:973–984  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

971 }
972
973 public boolean isRebalanced(String name) {
974 if (!name.startsWith("A-")) {
975 return false;
976 }
977 for (PaperCard pc : this.getCommonCards().getAllCards(name)) {
978 CardEdition e = this.editions.get(pc.getEdition());
979 if (e != null && e.isRebalanced(name)) {
980 return true;
981 }
982 }
983 return false;
984 }
985 public String getOtherImageKey(String name, String set) {
986 if (this.editions.get(set) != null) {
987 String realSetCode = this.editions.get(set).getOtherSet(name);

Callers

nothing calls this directly

Calls 6

getCommonCardsMethod · 0.95
isRebalancedMethod · 0.95
startsWithMethod · 0.80
getAllCardsMethod · 0.65
getMethod · 0.65
getEditionMethod · 0.65

Tested by

no test coverage detected