2026/02/09 Update

Added and activated PRCX.
Updated PEPS.
Full compile.
This commit is contained in:
Jaysyn904
2026-02-09 00:54:31 -05:00
parent f8ba24ab71
commit e297540d10
1926 changed files with 54655 additions and 49859 deletions

View File

@@ -38,11 +38,11 @@ void main()
if(ai_HasRangedWeaponWithAmmo(oCreature))
{
string sIndex;
if(!nInMelee) oTarget = ai_GetNearestTarget(oCreature);
else oTarget = ai_GetNearestTarget(oCreature, AI_RANGE_MELEE);
if(!nInMelee) oTarget = ai_GetNearestPhysicalTarget(oCreature);
else oTarget = ai_GetNearestPhysicalTarget(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;
}