Multi attacks

From: Ace (
Date: 09/15/94

For multi-attacks, we at AbsolutMUD did this:

Add a skill called SKILL_SECOND, then in fight.c in the perfrom_violence 
function we added this:

      if (AWAKE(ch) && (ch->in_room == ch->specials.fighting->in_room)) {
	 hit(ch, ch->specials.fighting, TYPE_UNDEFINED);
        if((GET_SKILL(ch, SKILL_SECOND) > 25) && (GET_LEVEL(ch) >= 10)) {      
		if(GET_SKILL(ch, SKILL_SECOND) > number(1,200)-5*GET_LEVEL(ch) )
        if((GET_SKILL(ch, SKILL_HEXA) > 0) && (GET_LEVEL(ch) >= 25)) { for(i=0;i<2;i++){
			if(GET_SKILL(ch, SKILL_HEXA) > number(1,500)-10*GET_LEVEL(ch) )
			hit(ch,ch->specials.fighting,TYPE_UNDEFINED); }

Some notes:

	This was made a LONG time ago, before I ever did any coding 
myself.  This was not made by me, so I can't take credit for any 
	SKILL_HEXA used to be a skill that gave you a total of six(!) 
attacks per round.  This has been since reduced to giving you only one 
more (for a total of three maximum, or 4 if hasted).

I forgot what the other question was, but I think I had some code for it.

Metal Director             WWW->
WRUW-FM / Cleveland        AbsolutMUD ( 4000)

Who are you to criticize           |
To judge and burn the tribes       | Put your money where your mouth is
The world will be extinct	   | So I can shove it down your throat.
And your flesh will rot with mine. |

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