Special tactics for ranged fighters.

int SpecialTacticsRanged(
    object oTarget



The "enemy" object we wish to use the tactics against.


Special tactics for ranged fighters.

The caller will attempt to stay in ranged distance and will make use of active ranged combat feats (Rapid Shot and Called Shot).

If the target is too close and is not currently attacking the caller, the caller will instead try to find a ranged enemy to attack. If that fails, the caller will try to run away from the target to a ranged distance.

This will fall through and return FALSE after three consecutive attempts to get away from an opponent within melee distance, at which point the caller will use normal tactics until they are again at a ranged distance from their target.

Returns TRUE on success, FALSE on failure.


#include "x0_i0_combat"



See Also

functions:  SpecialTactics | SpecialTacticsAmbusher | SpecialTacticsCowardly | SpecialTacticsDefensive
categories:  Combat Functions | Combat Actions Functions

author: Baragg, editor: Mistress