From: Demond De Inosantos <jay@laplaza.org>
Subject: Hand to Hand Combat


Just add this snippet into your fight.c file in perform_violance:

    if (GET_SKILL(ch, SKILL_SECOND_ATTACK) >= number(1, 101)) {
      if (GET_SKILL(ch, SKILL_THIRD_ATTACK) >= number(1, 201)) apr++;
      apr++;
    }
    if (GET_SKILL(ch, SKILL_HAND) >= number(1, 101)){
     if (!GET_EQ(ch, WEAR_WIELD))
       apr = 9;
    } else if (GET_SKILL(ch, SKILL_UNARMED_COMBAT) >= number(1, 101)){
       apr = 3;
    } else {
      apr = MAX(-1, MIN(apr, 4));
    }

Then add into spells.h:
#define SKILL_SECOND_ATTACK		xx
#define SKILL_THIRD_ATTACK		xx
#define SKILL_HAND_TO_HAND		xx
#define SKILL_UNARMED_COMBAT		xx

Then add into spell_parser.c:
"second attack", "third attack", "hand to hand", "unarmed combat",

in the skill part of the defines and that should do it.



From your friend,
Demond
