Re: Jottings (fwd)

From: Eric Pilcher (rasta@CSOS.ORST.EDU)
Date: 02/24/94


>> Another problem, one of our coders wrote a spec proc in which a mob teleports
>> itself around at random.  Well, everytime the mob teleports itself into a
>> DEATH room, it dies just as a player would.  Since this mob spends a total
>> of maybe 30 seconds in each room before teleporting again (unless fighting)
>> it tends to lead a relatively short life.  I assume this problem is either
>> in the teleport code or the death trap code and requires a check as to
>> weather the character is NPC or not, but have not yet been able to locate it.
> 
> Just add a check in the teleport code to see if the flag for DEATH is set 
> in the room you plan to teleport to.  A rather simple fix.

Okay, now there's also the solution to players ending up in mob alocation
trees.   Just set all these to GODROOM and add a check in the teleport
code to make sure players don't land in them.  :)

-Rasta



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