Re: CODE: Double hit and Remort classes?

From: Sliver (sliver@lightspeed.bc.ca)
Date: 07/05/96


Malcor wrote:
> 
> At 04:20 PM 7/4/96 -0700, you wrote:
> >Are there any documents or code snippits out there for the two folowing
> subjects:
> >
> >Remort classes: Once a player gets to the immortal level (level 31) and
> wants to
> >continue playing as a mortal, he or she can 'remort' to a previously
> unavailable class?
> Sorry still trying to mouch that code :)
> 
> >DoubleHit: A skill for warriors that allows him to hit more then once a
> round, I have
> >also seen this as a spell called 'haste'. Does anyone know where I can get
> docs or code
> "Second attack skill" :)
> after this line in fight.c:
> 
>  extern struct dex_app_type dex_app[];
> 
>   /*                                         */
>   /* insert skill check and haste check here */
>   /*                                         */
> 
>   if(IS_AFFECTED(ch, AFF_HASTE))
>     round += 1;
> 
>   if (IS_NPC(ch)){
>     for(j = 0; j < ((int)(GET_LEVEL(ch)/10)); j++){
>       percent1 = ((10 - (GET_AC(victim) / 10)) << 1) + number(1, 101); /* 101% $
>       if (percent1 <= 30)
>         round++;}<-------------
<Snip>                          |
                                |
Ok, I debugged it for 3.0 (I think) but where is the round thing defined? I did a grep 
and didn't find it anywhere? Can anyone help?

thanks
-SLiVER



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