Re: Damage messages and types (fight.c)

From: George Greer (greerga@circlemud.org)
Date: 03/26/99


On Fri, 26 Mar 1999, Del Minturn wrote:

>now tell me why someone would want an if statement to:
> a. send damage message
> or
> b. send damage message
>
>Why not just send damage message and get rid of the if???

Because we only want to send the skill_message() for a death or miss, not
both a skill_message() and dam_message().  For a normal hit there isn't a
fancy message for skill_message() to send so we skip that test.

>My guess is, there use to be another part to the section, which got
>removed, leaving it the way it is.

Nope, check Diku.  Something was added, skill_message(), to make it that
way.

--
George Greer            | Mailing list archives
greerga@circlemud.org   | http://post.queensu.ca/~listserv/wwwarch/circle.html


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST