Re: What a bug!! "May 17, 98 03:53:03 pm"

From: Christian Loth (sg618lo@UNIDUI.UNI-DUISBURG.DE)
Date: 05/17/98


Try the following patch

> > Uhm...I don't get it...what is the bug?
> > > Wooho!! What a bug! :)   (stock circle)
> > > It can annoy players much on PK muds.
> > > === CUT ===
> > > Your guildmaster stands here.
> ^^^^
> > > 500H 100M 82V > bash guildmaster
> > > This room just has such a peaceful, easy feeling...
> ^^^^ We get no damage message,
> > > The guildmaster is sitting here.
> ^^^^ But bash was succesful :((
>

diff -u act.offensive.c.orig act.offensive.c
--- act.offensive.c.orig        Sun May 17 14:56:12 1998
+++ act.offensive.c     Sun May 17 15:03:35 1998
@@ -315,8 +315,6 @@
     GET_POS(ch) = POS_SITTING;
   } else {
     damage(ch, vict, 1, SKILL_BASH);
-    GET_POS(vict) = POS_SITTING;
-    WAIT_STATE(vict, PULSE_VIOLENCE);
   }
   WAIT_STATE(ch, PULSE_VIOLENCE * 2);
 }
diff -u fight.c.orig fight.c
--- fight.c.orig        Sun May 17 14:57:40 1998
+++ fight.c     Sun May 17 15:13:04 1998
@@ -769,6 +769,15 @@
     }
     die(victim);
   }
+
+  /* Position update for bash */
+  if (attacktype == SKILL_BASH &&
+      !(GET_LEVEL(victim) >= LVL_IMMORT &&
+        GET_LEVEL(ch) < GET_LEVEL(victim))) {
+    GET_POS(victim) = POS_SITTING;
+    WAIT_STATE(victim, PULSE_VIOLENCE);
+  }
+
 }

- Chris

--
/----------------------------------------------------------------------------\
| Christian Loth                      | Meet me as the >Shadowdancer< in the |
| chris@rom.mud.de                    |           REALM OF MAGIC             |
| http://rom.mud.de/~chris            | telnet rom.mud.de 4000               |
|                                     | http://rom.mud.de/                   |
|               "The road goes ever on and on!" - Bilbo Baggins              |
\----------------------------------------------------------------------------/


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



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