On Sun, Nov 04, 2001 at 12:33:01AM -0800, Xanth Nomeda wrote:
> Greetings List
>
> First off, I did check the arcives already and havent found anything
> similar to this...
>
> --snip--
> else
> {
> if (ch == victim)
> {
> sprintf( buf1, "$n's %s %s $m%c", attack, vp, punct);
> sprintf( buf2, "Your %s %s you%c", attack, vp, punct);
> }
> else
> {
> if (IS_SET(ch->act, PLR_AUTODAMAGE))
> {
> sprintf( buf1, "$n's %s %s $N%c", attack, vp,
> punct );
> sprintf( buf2, "Your %s %s $N%c `1[`!%d
> `1Dmg]``", attack, vp, punct,
> dam );
> sprintf( buf3, "$n's %s %s you%c `1[`!%d
> `1Dmg]``", attack, vp, punct,
> dam );
> }
> else
> {
> sprintf( buf1, "$n's %s %s $N%c", attack, vp,
> punct );
> sprintf( buf2, "Your %s %s $N%c", attack, vp,
> punct );
> sprintf( buf3, "$n's %s %s you%c", attack, vp,
> punct );
> }
>
> }
> }
> --snip--
>
> Ok, so it shows what damage YOU do, but it doesnt show what damage the
> thing yer attacking does.
Maybe you should debug it by printing the name of ch just before
you enter this if-construction so you can see who's ch->act is
actually checked.
Sorry for the so much quoting btw.
Edwin
--
Edwin Groothuis | Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions:
------------------+ http://www.FatalDimensions.org/