2025/07/21 Update
Updated PEPS AI. Full compile.
This commit is contained in:
@@ -22,8 +22,6 @@ void main()
|
||||
// to take advantage of them as often as possible.
|
||||
if(ai_UseCreatureTalent(oCreature, AI_TALENT_INDISCRIMINANT_AOE, nInMelee, nMaxLevel)) return;
|
||||
if(ai_UseCreatureTalent(oCreature, AI_TALENT_DISCRIMINANT_AOE, nInMelee, nMaxLevel)) return;
|
||||
//**************************** SKILL FEATURES ****************************
|
||||
if(ai_TryAnimalEmpathy(oCreature)) return;
|
||||
//**************************** CLASS FEATURES ****************************
|
||||
if(GetLocalInt(GetModule(), AI_RULE_SUMMON_COMPANIONS) && ai_TrySummonAnimalCompanionTalent(oCreature)) return;
|
||||
if(ai_TryPolymorphSelfFeat(oCreature)) return;
|
||||
@@ -34,6 +32,8 @@ void main()
|
||||
// Look for a touch attack since we are in melee.
|
||||
if(nInMelee > 0 && ai_UseCreatureTalent(oCreature, AI_TALENT_TOUCH, nInMelee, nMaxLevel)) return;
|
||||
if(ai_UseCreatureTalent(oCreature, AI_TALENT_RANGED, nInMelee, nMaxLevel)) return;
|
||||
//**************************** SKILL FEATURES ****************************
|
||||
if(ai_TryAnimalEmpathy(oCreature)) return;
|
||||
// All else fails lets see if we have any good potions.
|
||||
// PHYSICAL ATTACKS - Either we don't have talents or we are saving them.
|
||||
// ************************ RANGED ATTACKS *******************************
|
||||
|
Reference in New Issue
Block a user