public void addDoneAbilityUsage(HashSet done, String val)
	{
		switch(CMLib.factions().getAbilityFlagType(val))
		{
		case 1:
			for(int i=0;i<Ability.ACODE_DESCS.length;i++)
				if(!done.contains(Ability.ACODE_DESCS[i].toUpperCase()))
					done.add(Ability.ACODE_DESCS[i].toUpperCase());
			break;
		case 2:
			for(int i=0;i<Ability.DOMAIN_DESCS.length;i++)
				if(!done.contains(Ability.DOMAIN_DESCS[i].toUpperCase()))
					done.add(Ability.DOMAIN_DESCS[i].toUpperCase());
			break;
		case 3: done.add(val.toUpperCase()); break;
		}
	}