void main()
{
    object oWeapon = OBJECT_SELF;
    object oPC = GetItemPossessor(oWeapon);
    object oTarget = GetAttackTarget(oPC);

    // Specify the visual effect number for Cure Moderate Wounds
    int iVFX = 948;
    effect eVFX = EffectVisualEffect(iVFX);

    // Apply the visual effect to the target
    ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVFX, oTarget, 1.0);

    // Heal the target for 2d8 HP
    int nHealAmount = Random(8) + 1 + Random(8) + 1; // 2d8
    effect eHeal = EffectHeal(nHealAmount);
    ApplyEffectToObject(DURATION_TYPE_INSTANT, eHeal, oTarget);

    // Remove any diseases from the target
    RemoveDisease(oTarget);
}
