2025/12/15 Update

Updated PEPS.
Added respawn pop-up for petrification.
Updated Markshire Nomeclature for NPC names / titles.
Hooked up new PRC8 GUI event.
Updated nim tools.
This commit is contained in:
Jaysyn904
2025-12-15 20:29:46 -05:00
parent 718217b291
commit 7598075698
365 changed files with 19309 additions and 15702 deletions

View File

@@ -39,8 +39,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);