Re: Jottings (fwd)

From: Jeff (jfink@csugrad.cs.vt.edu)
Date: 02/23/94


> in act.movement.c, around line 130, change:
> 
>    if (IS_SET(world[ch->in_room].room_flags, DEATH) && 
>        GET_LEVEL(ch) < LEVEL_IMMORT) {
> 
> to:
> 
>    if (IS_SET(world[ch->in_room].room_flags, DEATH) && 
>        GET_LEVEL(ch) < LEVEL_IMMORT && !IS_NPC(ch)) {

Actually, this stops mobs from dying if they walk into death traps... something
I don't quite agree with (Since players might chase them and die). You should
modify the teleport spell by modifiying the code in spell_teleport in magic.c.
Just look for the while loop at the top and change the PRIVATE to
PRIVATE | DEATH.

-Jeff



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