2025/09/06 Update

Fixed damaged baseitems.2da
Updated PEPS.
Full compile.
This commit is contained in:
Jaysyn904
2025-09-06 12:13:11 -04:00
parent c5e44a075b
commit 41bbc115c1
193 changed files with 104993 additions and 2164 deletions

View File

@@ -43,8 +43,8 @@ void main()
if(ai_HasRangedWeaponWithAmmo(oCreature))
{
// Paladins face the biggest challenges first!
if(!nInMelee) oTarget = ai_GetHighestCRTarget(oCreature);
else oTarget = ai_GetHighestCRTarget(oCreature, AI_RANGE_MELEE);
if(!nInMelee) oTarget = ai_GetHighestCRPhysicalTarget(oCreature);
else oTarget = ai_GetHighestCRPhysicalTarget(oCreature, AI_RANGE_MELEE);
if(oTarget != OBJECT_INVALID)
{
ai_ActionAttack(oCreature, AI_LAST_ACTION_RANGED_ATK, oTarget, nInMelee, TRUE);