Re: Damage messages and types (fight.c)

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


On Fri, 26 Mar 1999, Del wrote:

>Where is the statement that sends out the skill message if there is
>one???? It checks to see if there is NO message, and if not.. send a dam
>message (below). Ok.. fine.. lets say we have a skill message, Show me
>the line that sends sthe skill message at this point.

I think you'll find a lot of 'act()' and 'send_to_char()' calls in
skill_message().

>>         # sent out, if we don't then we'll use generic dam_message so
>>         # at least something is sent.
>>         dam_message(dam, ch, victim, attacktype);
>
>note this is a dam message, not a skill message that is sent out IF there is
>no skill message.

Skill message:
You beautifully slash $N into two parts -- both dead.
Damage message:
You massacre $N to small fragments with your #w.

So you don't get a spiffy death message if there isn't a skill message, no
big deal.

--
George Greer            | The Ceramic Mouse & Snippets
greerga@circlemud.org   | http://developer.circlemud.org/


     +------------------------------------------------------------+
     | 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