2025/09/06 Update
Fixed damaged baseitems.2da Updated PEPS. Full compile.
This commit is contained in:
@@ -73,12 +73,12 @@ void main()
|
||||
if(oTarget == OBJECT_INVALID)
|
||||
{
|
||||
// Paladins face off against the strongest opponents 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)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user