2025/12/12 Update

Updated PEPS
Hooked up module GUI event for spell effect manager.
Updated nim tools.
Full compile.
This commit is contained in:
Jaysyn904
2025-12-12 14:33:30 -05:00
parent 36565033c9
commit e2ef284388
411 changed files with 13207 additions and 9627 deletions

View File

@@ -39,11 +39,11 @@ void main()
{
if(ai_HasRangedWeaponWithAmmo(oCreature))
{
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;
}