I got the code in, and someone helped me debug it. (For
the flaming_blade/vorpal_blade spell.) I looked in
fight.c, and it says if the weapon is affected by
flaming_blade, to display something when it hits the
target:
if (ch->fighting == victim && IS_WEAPON_STAT
(wield, WEAPON_FLAMING))
{
dam = number_range (1, wield->level / 4 + 1);
act ("$n is burned by $p.", victim, wield,
NULL, TO_ROOM);
act ("$p sears your flesh.", victim, wield,
NULL, TO_CHAR);
fire_effect ((void *) victim, wield->level /
2, dam, TARGET_CHAR);
damage (ch, victim, dam, 0, DAM_FIRE, FALSE);
}
For some reason, it isn't displaying this when I hit
someone with the flaming weapon. Any idea?