else if ( dam <= 1000 ) { vp = "<<< ERADICATING >>>"; }
else { vp = "***EXTREMELY ILLEGAL***"; }
if ( dam == 0 ) { endit = "intensity"; }
/* else if(victim->position == POS_DEAD) { vp = "terminal"; endit = "brutality"; } */
else
switch(number_range(0,9))
{
default: { endit = "intensity"; } break;
case 0: { endit = "viciousness"; } break;
case 1: { endit = "strength"; } break;
else if ( dam > victim->hit ) { vp = "terminal"; endit = "brutality"; }
I've been messing around making various changes to info that is
displayed during the fighting. I've had an idea that I saw awhile
back on another mud but no matter how I write the code, it doesn't
seem to work.
I've been working with the void dam_message( at the end of all of the
else if's. What I'm trying to do is to diplay my own last message
type of thing..
EG:
Your chop mauls a gnome child.
A gnome child's hit wounds you.
Your chop sends a gnome child to his grave!
A gnome child is dead.
Your recive 1 exp..
I know that is a bland example but I'm having a brain freeze I assume
cause I just can't figure it out. I've tried about 100 variations of
code like this.
Remember, I put this below all of the else if checks. I've either had
it show for each and every hit or not at all. I just want it to show
upon the death of the victim and not the normal
Your chop mauls a gnome child.
A gnome child is dead.
Here is a mini version of what I was trying to do.
Anyone have any ideas?
Thanks,
Chris