switch (e.NewCap)
{
case 230:
if (!hasReward && !hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 8);
else if (hasReward)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 15);
break;
case 235:
if ((!hasReward && hasValiant) || (hasReward && !hasValiant))
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 8);
else if (!hasReward && !hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 9);
break;
case 240:
if(hasReward && hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 8);
if ((!hasReward && hasValiant) || (hasReward && !hasValiant))
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 9);
else if (!hasReward && !hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 10);
break;
case 245:
if(hasReward && hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 9);
if ((!hasReward && hasValiant) || (hasReward && !hasValiant))
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 10);
else if (!hasReward && !hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 11);
break;
case 250:
if(hasReward && hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 10);
if ((!hasReward && hasValiant) || (hasReward && !hasValiant))
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 11);
else if (!hasReward && !hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 12);
break;
case 255:
if(hasReward && hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 11);
if ((!hasReward && hasValiant) || (hasReward && !hasValiant))
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 12);
break;
case 260:
if (hasReward && hasValiant)
AchievementSystem.CheckAchievement(pm, AchievementType.Character, 12);
break;
}