Dark and Light Elves

Directional Condition

Applies enchantments and hit effects for the duration of an attack swing and multiplies inflicted damage when attacker orientation to the target is within the specified angle.

This script is used implement features like backstab attacks with drippy blood.

Files

Dependencies

Origin Ramblings

Got the concept from playing D&D-style computer games (Baldur's Gate 2 and Neverwinter Nights). Considered implementing a number of thief-themed systems, and the basic techniques here lay some sort of foundation for stuff like thievery and sneaking.