2025/12/01 Update

Updated module for NWN:EE 37-17.
Updated NWNxEE libraries.
Updated PEPS.
Hooked up new PRC8 GUI module event.
Full compile.
This commit is contained in:
Jaysyn904
2025-12-01 10:11:37 -05:00
parent e2d45b9aab
commit ab163e6df6
526 changed files with 38354 additions and 35924 deletions

View File

@@ -52,12 +52,12 @@ void main()
{
if(ai_TryRangedSneakAttack(oCreature, nInMelee)) return;
// Lets pick off the weakest targets.
if(!nInMelee) oTarget = ai_GetLowestCRTarget(oCreature);
else oTarget = ai_GetLowestCRTarget(oCreature, AI_RANGE_MELEE);
if(!nInMelee) oTarget = ai_GetLowestCRPhysicalTarget(oCreature);
else oTarget = ai_GetLowestCRPhysicalTarget(oCreature, AI_RANGE_MELEE);
}
if(oTarget != OBJECT_INVALID)
{
if(ai_TryRapidShotFeat(oCreature, oTarget, nInMelee)) return;
if(ai_TryRangedTalents(oCreature, oTarget, nInMelee)) return;
ai_ActionAttack(oCreature, AI_LAST_ACTION_RANGED_ATK, oTarget, nInMelee, TRUE);
return;
}