Re: [fighting positions]

From: Daniel Koepke (dkoepke@california.com)
Date: 12/03/96


On Tue, 3 Dec 1996, marimah@ksu.ksu.edu wrote:

> ok, I removed that line. but all that did was make it so you don't see the
> "You can't fight while sitting" message when your in POS_SITTING. you still
> can't keep on fighting while sitting. The problem is that there is a
> POS_FIGHTING, and if your in POS_SITTING, you can't be fighting at the same
> time. I want mobs to be able to fight while sitting also, not just players.
> But, I want it so they can't do anything but hit while sitting. They can't
> cast spells, kick, etc.. Is there some way to implement this? I've seen it
> done on other muds. Do you have to define a new POS? Thanks for your help :)

What?!  To my knowledge that block in perform_violence() is the only
thing preventing the code from letting you hit while you're sitting.
See that "continue;"?  That makes the code loop through again before
it get to everything below it.

Of course, to be able to start a fight in POS_SITTING you'll have to
change the minimum position for the "kill" command in interpreter.c.
Did you actually try it or did you just look at it and decide it wouldn't
work?


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


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



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