protected Map<Integer,List<Ability>> getSkillGroups(final MOB mob)
	{
		final Map<Integer,List<Ability>> allMyGroups=new TreeMap<Integer,List<Ability>>();
		for(int a=0;a<mob.numAllAbilities();a++)
		{
			final Ability A=mob.fetchAbility(a);
			final Integer I=Integer.valueOf(A.abilityCode());
			if(!allMyGroups.containsKey(I))
				allMyGroups.put(I, new LinkedList<Ability>());
			allMyGroups.get(I).add(A);
		}
		return allMyGroups;
	}