There are a handful of LW Types that can;t be scripted, due to how they work internally. Of these, the notable are LW_SWORD, LW_WAND, and LW_HAMMER.
I was wondering if there is a way to interrupt dealing damage to NPCs using any of these types, to read the damage being dealt, and to change that amount before the game engine applies it; or supplement it with other effects.
What would be required is a way to read the type of LW dealing the damage, the actual item doing it (for which I already have code), and a way to change the value of the damage, while keeping the same LW_Type.
That would allow for more effects, based on swords, or other un-scriptable LWeapon types, overriding the power setting (which can be set to 0), and replace that 0-Power with a specific amount of damage, from the main global active loop.
Does anyone have ideas on this; or if it's possible?

