2025/12/25 Update

Hooked up new GUI module event.
Updated PEPS.
Updated PRC8 includes
Updated nasher.cfg.
This commit is contained in:
Jaysyn904
2025-12-25 20:17:20 -05:00
parent 74ede2e7dd
commit fde89f634f
171 changed files with 112167 additions and 3722 deletions

View File

@@ -38,8 +38,8 @@ 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)
{
ai_ActionAttack(oCreature, AI_LAST_ACTION_RANGED_ATK, oTarget, nInMelee, TRUE);