Re: Mirror image (fwd)

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


> 
> Or, somewhere inside struct char_data *ch, add unsigned byte image_number.
> Make the spell a MAG_MANUAL | MAG_AFFECTS.
> In fight.c, when checking for a hit, do:
> 	if (dice(1, image_number) != 1) {
> 		act("blahblahblah' ... TO_CHAR);
> 		act("Blablahbalbh"... TO_ROOM);
> 		image_number = MAX(1, image_number - 1);
> 	}
> heck, you don't even need an AFFECT flag... just check if image_number > 1,
> and if it is... you're imaged... this sure beats the way I imp'ed it... 
> in which mirror-image is just the mage's version of a parry.
> 		
> 
  Except, on Sojourn, we try not to redo pfiles. When you have 2000+, 
even one extra byte really starts to add up :)



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