Re: Mirror image

From: Phil Priston (phil@mis.marleyext.com)
Date: 11/03/95


The Subject "Mirror image" Prompted Daniel W. Burke to write:

> Anyone sucessfully get mirror image coded?
> 
> I've tried a few different ways, with mix results, non of them do what 
> it's supposed to.....
>
Everyone seems to be thinking about this spell...
I loaded a MOB_TYPE_GHOST 
so the mob can't tell which is which, there is a 50/50 chance of the 
MOB trying to hit the 'image' of the character, when it does try, of 
course its hit/slice/bit etc. goes straight through the image, cause 
a good chance the MOB will trip up!
as far as code in fight.c ( I use merc code)
in one_hit() I randomly select the victim, if the victim is the image
then return message "<mobname> goes for your image" ther is then the 
chance that the mob lands oon its arse, and finally one_hit() returns 
a miss. *shrug* 
	Phil...
-- 
:::::/^^^^^^^\:/^^\:::::/^^\:/^^\::MS-DOS is the Worst Text Adventure :
::::/^^\:/^^\:/^^\::::::::::/^^\:::     Game I have ever played.      :
:::/^^^^^^^\:/^^^^^^\:/^^\:/^^\:::::::::::::::::::::::::::::::::::::::: 
::/^^\::::::/^^\/^^\:/^^\:/^^\:::::Phil Priston phil@mis.marleyext.com:
:/^^\::::::/^^\/^^\:/^^\:/~~~~~~~\:       Marley Extrusions LTD.      :



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