Файл menus.inl
Функция
Code
// Add the ultimate to the menu
else if ( SM_GetSkillType( iSkillID ) == SKILL_TYPE_ULTIMATE )
{
if ( iSkillLevel < MAX_ULTIMATE_LEVEL )
{
// User can't choose ultimate yet :/
if ( p_data[idUser][P_LEVEL] <= 5 )
{
pos += formatex( szMsg[pos], charsmax(szMsg)-pos, "\d" );
}
// Then the user is level 6 or above and can select their ultimate!
else
{
iKeys |= (1<<iSkillCounter);
}
pos += formatex( szMsg[pos], charsmax(szMsg)-pos, "^n%d. %L: %s\w", iSkillCounter+1, LANG_PLAYER, "WORD_ULTIMATE", szSkillName );
}
}
iSkillCounter++;
iSkillID = SM_GetSkillByPos( idUser, iSkillCounter );
}
if ( p_data[idUser][P_LEVEL] <= 5 ) изменяешь 5 на 1 то с 2 лвл а с 1лвл я хз