sc.addScore(st.getHealingPreference()*10, AIHelper.AI_STRATEGIE_HEALING);
sc.addScore(st.getPlayerDamagePreference()*10, AIHelper.AI_STRATEGIE_PLAYER_DAMAGE);
sc.sort();
int listSize = 0;
Pair pairs[] = new Pair[7];
for (int i=0; i<6; i++)
{
pairs[i] = new Pair();
pairs[i].type = sc.getHighScoreTypeString();
pairs[i].value = sc.getHighScoreValue();
pairs[i].wanted = (pairs[i].value != 0);
pairs[i].subListHeap = AIHelper.getSubListByType(tHeap, pairs[i].type);
pairs[i].subListBooster = AIHelper.getSubListByType(tBooster, pairs[i].type);
if (tHeap.size() > 0)
pairs[i].current = (pairs[i].subListHeap.size()*100) / tHeap.size();
sc.removeType(pairs[i].type);
listSize += pairs[i].subListBooster.size();
}
pairs[6] = new Pair();
if (listSize==0)
{
pairs[6].subListBooster = tHeap.copyList();
}