void main() { object oPC; oPC = GetLastDamager(); ActionCastSpellAtObject (SPELL_NEGATIVE_ENERGY_RAY, oPC, TRUE, 1, TRUE); }