public void unlearnAllAlienCharms() { for (ILearningCharmGroup[] groups : nonMartialArtsGroupsByType.values()) { for (ILearningCharmGroup group : groups) { if (group.getCharacterType() != getNativeCharacterType()) { group.forgetAll(); } } } for (ILearningCharmGroup group : martialArtsGroups) { group.unlearnExclusives(); } }