Bubb13 / EEex

An executable extender for Beamdog's Enhanced Edition of the Infinity Engine
52 stars 7 forks source link

Added new functions for manipulating damage #19

Closed OlvynChuru closed 5 years ago

OlvynChuru commented 5 years ago

Two new functions:

EXDAMRED() => Can be used with opcode 403. Gives the creature 3e-like damage resistance, absorbing a flat amount of incoming damage, or increasing it by a flat amount.

EXDAMAGE() => Can be used with opcode 402. Applies damage to the target, and takes into account damage bonuses from Strength, proficiencies, and opcodes. Could be used to make a weapon deal non-physical damage that scales with the wielder's damage bonuses.

Also, I put the custom thieving skills stuff in a separate component, so one can avoid installing it if one is worried about UI mod compatibility issues.