[Thanks to daja.hester for the idea]
This weapon allows the wielder to absorb the life energies of foes and use them to power spells.
Basically: Put the x2_s3_onhitcast script into the module (it doesn't require any events). Attacking with the Ensouled Dagger adds charges; casting the included spells uses them.
IMPORTANT: If you use all of the dagger's charges, it will disappear. This is, unfortunately, a Bioware-level problem.
ALSO IMPORTANT: If you already have a custom x2_s3_onhitcast script, you'll need to add to yours. Simply add the following:
//Special code for Ensouled Dagger
if(GetTag(oItem) == "EnsouledDagger")
{
int iCharges = GetItemCharges(oItem);
SendMessageToPC(oSpellOrigin, "The Ensouled Dagger drains your opponent's life energy.");
SetItemCharges(oItem, iCharges + 1);
}
//End Ensouled Dagger code
and it should work fine.