Re: disarm skill

From: Carlton Colter (carlton@COLTER.COM)
Date: 05/30/03


Very nice!!  I like it very much, I used you lost weapon bit and put it
into my code... thank you...

But... just a thought... Shouldn't you se the lost weapon back to null
after it wields it and perhaps even do it weather or not it is successful.

>in mobact.c, in mobile_activity(), add:
>    if (LOST_WEAPON(ch)) {
>      if (IN_ROOM(LOST_WEAPON(ch)) == IN_ROOM(ch)) {
>        if (perform_get_from_room(ch, LOST_WEAPON(ch)))
>          do_wield(ch, OBJN(LOST_WEAPON(ch), ch), 0, 0);
         LOST_WEAPON(ch) = NULL;
>      }
>    }

--
   +---------------------------------------------------------------+
   | 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/26/03 PDT