Posted by Ahem on July 21, 2000 at 21:17:23:
In Reply to: hmm i do a little coding and there is a rather simple way to solve it.(txt) posted by laxman on July 20, 2000 at 05:38:27:
> > > I swear to God himself, that I cannot see my corpse with a race that doesn't automatically have infravision when I'm a ghost until the sun comes up. I can see where I'm walking just fine, and the creatures in the room, but not my corpse. > > > okay 2 ways i see of fixing this really easily. first you can just add a part to raw kill that when they move the char to the altar after they remove the affects it then adds an infravision spell to the character. > if you don't like the idea of gaining an affect upon death then do like with frost fingers and such and create a bit. > while (ch->form != FORM_GHOST) > > if (ch->form == FORM_GHOST && (!AFF_BY(gsn_blind) && !AFF_BY(blah blah blah)) > hope this helps a bit
> > Yeah, I know... it's pretty high up there
> > on my "Big list of shit to fix" (tm). I'll
> > move it to the top of the list, as soon as
> > the issues which have been causing us a lot
> > of trouble lately are resolved.
> add a line like this to raw_kill
> set_bit(BIT_INFRAVISION)
> remove bit(BIT_INFRAVISION)
> or as i come to think about it you could also add to the can_see function a line like
> {
> return true;
> }