[NEWBIE?] [QUESTION]

From: Ray Campbell (thrawn@cox.net)
Date: 05/30/02


I've been trying to adjust the stock MOB_WAIT (included below) so that
A Mob does not instantly stand after being bashed, tripped etc.  I am trying
to get it to wait 3 rounds instead of the next round after it is attacked.

**snipped from perform_violence in fight.c**
    if (IS_NPC(ch)) {
      if (GET_MOB_WAIT(ch) > 0) {
        GET_MOB_WAIT(ch) -= PULSE_VIOLENCE;
        continue;
      }
      GET_MOB_WAIT(ch) = 0;
      if (GET_POS(ch) < POS_FIGHTING) {
        GET_POS(ch) = POS_FIGHTING;
        act("$n scrambles to $s feet!", TRUE, ch, 0, 0, TO_ROOM);
      }
    }
I tried manipulating the numbers above, and no matter what the mob still
stands immediatley after the bash, trip, whatever.  I also tried to change
GET_MOB_WAIT(ch) to (vict), however that crashed the mud. 
If anyone has changed this, or knows possibly a solution.  It would greatly be
appreciated.
+---------------------------------------------------------------------+
 |    "The eternaly stressed never rest."                |
 |  Ray Campbell mailto://thrawn@cox.net           | 
+---------------------------------------------------------------------+
 |  TORYN MUD: telnet://toryn.kyndig.com:6666   |
+---------------------------------------------------------------------+


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 05/24/2002

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT