TouchAttackMelee(object, int)

Performs a touch melee attack out of turn.

int TouchAttackMelee(
    object oTarget,
    int bDisplayFeedback = TRUE
);

Parameters

oTarget

The target of the touch melee attack.

bDisplayFeedback

Display graphical feedback on the attack. (Default: TRUE)


Description

The caller will perform a melee touch attack on oTarget. This is not an action, and it assumes the caller is already within range of oTarget.

Returns 0 on a miss, 1 on a hit, and 2 on a critical hit.



Remarks

No combat animations are performed, and no damage is dealt. It simply does a roll to see if the target is hit, and if bDisplayFeedback is TRUE, displays feedback in the combat feedback window.


Version

1.61

See Also

categories: Combat Actions Functions


 author: Charles Feduke, editor: Lilac Soul