AI for your own team has higher difficulty.
Code:
//--------------------------------------------------------------------------------------------------
// Trigger: Init Players
//--------------------------------------------------------------------------------------------------
bool gt_InitPlayers_Func (bool testConds, bool runActions) {
int autoF4A3553F_ae;
int autoF4A3553F_ai;
int autoBC54A7AB_ae;
int autoBC54A7AB_ai;
// Variable Declarations
int lv_indexPlayer;
// Variable Initialization
// Actions
if (!runActions) {
return true;
}
libGame_gv_players[1].lv_heroIndex = libStEx_gf_HeroIndex("Raynor");
libGame_gv_players[2].lv_heroIndex = libStEx_gf_HeroIndex("Uther");
libGame_gv_players[3].lv_heroIndex = libStEx_gf_HeroIndex("DemonHunter");
libGame_gv_players[4].lv_heroIndex = libStEx_gf_HeroIndex("Nova");
libGame_gv_players[5].lv_heroIndex = libStEx_gf_HeroIndex("Tyrael");
libGame_gv_players[6].lv_heroIndex = libStEx_gf_HeroIndex("Diablo");
libGame_gv_players[7].lv_heroIndex = libStEx_gf_HeroIndex("Arthas");
libGame_gv_players[8].lv_heroIndex = libStEx_gf_HeroIndex("Illidan");
libGame_gv_players[9].lv_heroIndex = libStEx_gf_HeroIndex("Malfurion");
libGame_gv_players[10].lv_heroIndex = libStEx_gf_HeroIndex("WitchDoctor");
autoF4A3553F_ae = 5;
autoF4A3553F_ai = 1;
lv_indexPlayer = 1;
for ( ; ( (autoF4A3553F_ai >= 0 && lv_indexPlayer <= autoF4A3553F_ae) || (autoF4A3553F_ai <= 0 && lv_indexPlayer >= autoF4A3553F_ae) ) ; lv_indexPlayer += autoF4A3553F_ai ) {
libAIAI_gf_HeroAISetAIDifficultyLevel(lv_indexPlayer, 4); // <- your team
}
autoBC54A7AB_ae = 10;
autoBC54A7AB_ai = 1;
lv_indexPlayer = 6;
for ( ; ( (autoBC54A7AB_ai >= 0 && lv_indexPlayer <= autoBC54A7AB_ae) || (autoBC54A7AB_ai <= 0 && lv_indexPlayer >= autoBC54A7AB_ae) ) ; lv_indexPlayer += autoBC54A7AB_ai ) {
libAIAI_gf_HeroAISetAIDifficultyLevel(lv_indexPlayer, 3); // <- enemy team
}
libCore_gv_tUTTalentsAutobuyOn = true;
return true;
}