@Override public IdentifiedInteger[] getAdditionalComplexPools( TraitMap traitMap, MagicCollection magicCollection) { IdentifiedInteger[] poolValues = new IdentifiedInteger[complexPools.length]; for (int i = 0; i < complexPools.length; i++) { poolValues[i] = new IdentifiedInteger( complexPools[i].getId(), complexPools[i].getPool(traitMap, magicCollection.isLearned(charm) ? 1 : 0)); } return poolValues; }
@Override public int getAdditionalPersonalPool(TraitMap traitMap, MagicCollection magicCollection) { return personalPool.getPool(magicCollection.isLearned(charm) ? 1 : 0); }