don't forget about checks for CAN_SEE(mob,vict) {something like this} and a
sneak check, otherwise you might as well kill the sneak skill
----------
From: owner-circle
To: Hades
Cc: dtblue; circle
Subject: Re: Aggressive mobs and pulse_violence
Date: Tuesday, April 16, 1996 2:06PM
On Tue, 16 Apr 1996, Hades wrote:
> for(mob =3D ch->in_room; mob; mob =3D mob->next_in_room) /* I dunno wtf t=
he
> if(MOB_FLAGGED(mob, MOB_AGGRESSIVE))=09=09=09actual next pointer
> break;=09=09=09=09=09=09is called */
> if(mob && !FIGHTING(mob)) /* We dont want a fignting mob to hit someone e=
lse
> do_hit(mob, ch, TYPE_UNDEFINED);
I guess the seccond line should be :
if(!MOB_FLAGGED(mob, MOB_aggresive))
If you don't you'll have strange results.. hehehe (like newbies beeing=20
killed a lot :-() )
Regards,
Con
d.
--
***************************************************************************
* * Visit my homepage: *
* Rasmus R=F8nlev DOEK'94 * http://www.econ.cbs.dk/people/raro94ab =
*
* Student instructor * Visit my Multi User Dungeon (MUD): *
* * ns3.ptd.net 5000 or 198.80.46.3 5000 *=
=20
***************************************************************************
* *
* Student, B.Sc in Computer Science and Business Administration *
* *
***************************************************************************
This archive was generated by hypermail 2b30 : 12/18/00 PST