Re: Mirror image

From: Erik (madison@nevada.edu)
Date: 11/02/95


On Thu, 2 Nov 1995, waliczek gary jason wrote:
> > 
> There are only a couple flaws with this method:
> 	1) illusions will leave corpses
> 	2) you have to go down to -10 HPs to die
> 
> Difficult spell to code...
> 
  Eh? I can think of at least 5 methods around that. Since this is a 
circle list though, lessee...
In a proc...
if (GET_HIT(ch) != GET_MAX_HIT(ch)) {
  act("$n cackles gleefully, and fades away...\n\r", 1, ch, 0, 0, TO_ROOM);
  die(ch);
  extract_char(ch);
}
Not sure how often procs are called in Circle, been awhile, but in a up 
and running mud, I think this is preferable to changing structs and/or 
affects.



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