Isle of Conquest All-Star

Isle of Conquest All-Star

http://www.wowhead.com/achievement=3845/

In a single Isle of Conquest battle, assault a base, defend a base, destroy a vehicle and kill a player.

  • Destroyed Vehicle → Works

  • Defend a Base → Fixed

  • Assault a Base → Fixed

  • Kill a player → Doesn’t work

I have fixed two of them, with this:

void BattlegroundIC::UpdatePlayerScore(Player* Source, uint32 type, uint32 value, bool doAddHonor)
{
std::map<uint64, BattlegroundScore*>::iterator itr = PlayerScores.find(Source->GetGUID());

if (itr == PlayerScores.end())                         // player not found...
    return;

switch (type)
{
    case SCORE_BASES_ASSAULTED:
        ((BattlegroundICScore*)itr->second)->BasesAssaulted += value;
    Source->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_BG_OBJECTIVE_CAPTURE, IC_OBJECTIVE_ASSAULT_BASE);
        break;
    case SCORE_BASES_DEFENDED:
        ((BattlegroundICScore*)itr->second)->BasesDefended += value;
    Source->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_BG_OBJECTIVE_CAPTURE, IC_OBJECTIVE_DEFEND_BASE);
        break;
    default:
        Battleground::UpdatePlayerScore(Source, type, value, doAddHonor);
        break;
}

}
But, now i can’t fix the problem with the kill credit. Can anyone help me?

Some information:

I think the criteria id is 11491 for “kill a player” (IC). And with this a make that only count in Isle of Conquest:

INSERT INTO achievement_criteria_data (criteria_id, TYPE, value1, value2, ScriptName) VALUES(11491,6,4710,0, ‘’);

Please…help me /emoticons/default_smile.png