2025/12/05 Update

Fixed overlong hak name (abilities -> ability).
Updated PEPS
Updated NWNxEE libraries.
Updated readme
Updated nim tools.
This commit is contained in:
Jaysyn904
2025-12-05 10:20:25 -05:00
parent 431e59b7fe
commit 199cf4b044
2045 changed files with 143464 additions and 27726 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);