/*

  See spells.def for most details. The damage tables determine the amount
  of damage given by each weapon. The following table shows how ALPHA
  (the third value) basically determines number of hits required before
  an opponent of equal status is killed (RTK is rounds to kill).
  However, the weapon skill can not be practiced above 100%, but this is
  compensated for by doing predictive calculations.

HM Increase per level is 5.00


Alpha   d(dam)/lvl     RTK

  2       2.50        2.40
  3       1.67        3.60
  4       1.25        4.80
  5       1.00        6.00
  6       0.83        7.20
  7       0.71        8.40
  8       0.63        9.60
  9       0.56        10.80
 10       0.50        12.00
 11       0.45        13.20
 12       0.42        14.40
 13       0.38        15.60
 14       0.36        16.80
 15       0.33        18.00
 16       0.31        19.20
 17       0.29        20.40
 18       0.28        21.60
 19       0.26        22.80
 20       0.25        24.00

Weapons are currently divided into Eight Circles, based upon the
original Alpha Damage determination scheme.

That Damage Determination Scheme works as such:
Two weapons in the same circle differ only in the base damage that is
added on at the end of the roll, the number of fumbles statistically
possible, the shield usage definitions, speed + of course the individual
race practice definitions.

The outmoded Scheme worked in this manner:
The Armor your opponent is wearing is determined by the weapon that the
you are using(please reread this sentence and try to note any problems you
might have with it).  The Base damage of your weapon depends on the type of
armor the opponent is wearing, even though the armor value is supposed
to determine only whether the damage dealt by you will be taken from
the opponent.  The old scheme worked the armor value backwards, making
it harder to break through clothing to deal damage than to break through
plate to do damage.  Thus a newbie with a low roll(say 60), would not
be able to cause damage to a mob with an old clothing value of 72(which
was about average for every weapon), whereas that same newbie would be
able to hit that same mob if the mobs natural armor were plate.
here's an example:

Under the old definitions Battleaxe was defined as follows:
attack clothes  = {72, 9, 4}
attack sleather = {60, 8, 5}
attack hleather = {50, 6, 6}
attack chain    = {40, 4, 7}
attack plate    = {20, 1, 8}

Using a roll of 60(which is somewhere around normal for a newbie)
we get the following average hits:
clothes:     60-72=-12(stopcal) damage=0
softleather: 60-60=0(stopcal)   damage=0
hardleather: 60-50=10/6=1.67+6=7.67damage
chainmail:   60-40=20/7=2.85+4=6.85damage
platemail:   60-20=40/8=5+1=6damage

So the newbie cant even hit clothing using a battleaxe, but can do fair
damage to plate using the same weapon.

Under the new weapons system, clothing is easier to break through and deal
damage than softleather, than hardleather, than chain, than plate.
attack clothes  = {20, 9, 4}
attack sleather = {25, 9, 5}
attack hleather = {32, 9, 6}
attack chain    = {40, 9, 7}
attack plate    = {50, 9, 8}
60-20=40/4=10+9=19
60-25=35/5=7+9=16
60-32=28/6=4.67+9=13.67
60-40=20/7=2.86+9=11.86
60-50=10/8=1.25+9=10.25

Thus a naked newbie fighting it's plate-skin clone will hit for an average
of 10.25hitpoints, whereas if it's clone had clothing armor, it would hit
for 19 hitpoints.  The clothing values increase by 20% each level, making
plate 250% as protective as clothing.

Keep in mind that the example does not yield an accurate representation of
the system-wide differences between 50+ mortals wielding the new weapons,
because the newbie roll is so small, the base damage does much to alter
the end result, which is by the way, why the level order of weapons
practice in guilds has always been viewed as important.  However, you can
see that whatever way you slice it(n.p.i.), a lowroll player should always
hit clothing harder than plate.

Speaking of Base Damage, a major problem with the now defunct weapons system
is this: The base damage changes with the armor type.  A weapon's base damage
is it's BASE damage, that means that if a player rolled exactly the damage
plus one required to break through the armor and hit the opponent, that
weapon will hit for BASE, which in the case of the battleaxe is 9 points.
That is something that just should not change, no matter what armor the
opponent is wearing.  The first number determines the amount of damage
required to deliver the base damage, any roll over the the armor value
is divided by the Alpha Value and added to that base damage.  So the idea
is to write weapons on the assumption that the player will be hitting for
base damage alone.

That said, here are the new weapons definitions, in terms of Alpha Circle:

        First Circle(4,5,6,7,8):
Battle Axe, War Mattock, Great Sword, Halberd, Scythe
        Second Circle(5,6,7,8,9):
Battle Mace, Flail, Club
        Third Circle(6,7,8,9,10):
Katana, Battle Club, Spear
        Fourth Circle(7,8,9,10,11):
Long Sword, Morning Star, Staff, War Hammer
        Fifth Circle(8,9,10,11,12):
Falchion, Broad Sword, Trident
        Sixth Circle(9,10,11,12,13):
Kopesh, Rapier, Short Sword, Mace, Wakizashi
        Seventh Circle(10,11,12,13,14):
Handaxe, Club, Sickle, Whip
        Eighth Circle(11,12,13,14,15):
Dagger




*/

#include 
#include "spelldef.h"

index           = WPN_ROOT
name            = theory
sphere          = WPN_ROOT
hands           =   1
type            = WPNT_NONE
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {90, 0,50}
attack sleather = {90, 0,50}
attack hleather = {90, 0,50}
attack chain    = {90, 0,50}
attack plate    = {90, 0,50} /*theory*/

index           = WPN_AXE_HAM
name            = category axe hammer
sphere          = WPN_ROOT
hands           =   1
type            =  WPNT_NONE
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =   0

race darkelf    =   0
fumble          =   2
attack clothes  = {90, 0,50}
attack sleather = {90, 0,50}
attack hleather = {90, 0,50}
attack chain    = {90, 0,50}
attack plate    = {90, 0,50} /*axe/ham*/

index           = WPN_SWORD
name            = category sword
sphere          = WPN_ROOT
hands           =   1
type            =  WPNT_NONE
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {90, 0,50}
attack sleather = {90, 0,50}
attack hleather = {90, 0,50}
attack chain    = {90, 0,50}
attack plate    = {90, 0,50} /*swords*/

index           = WPN_CLUB_MACE
name            = category club mace
sphere          = WPN_ROOT
hands           =   1
type            =  WPNT_NONE
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {90, 0,50}
attack sleather = {90, 0,50}
attack hleather = {90, 0,50}
attack chain    = {90, 0,50}
attack plate    = {90, 0,50} /*club/mac*/

index           = WPN_POLEARM
name            = category polearm
sphere          = WPN_ROOT
hands           =   1
type            =  WPNT_NONE
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {90, 0,50}
attack sleather = {90, 0,50}
attack hleather = {90, 0,50}
attack chain    = {90, 0,50}
attack plate    = {90, 0,50} /*polearm*/

index           = WPN_UNARMED
name            = category natural
sphere          = WPN_ROOT
hands           =   1
type            =  WPNT_NONE
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {90, 0,50}
attack sleather = {90, 0,50}
attack hleather = {90, 0,50}
attack chain    = {90, 0,50}

attack plate    = {90, 0,50} /*natural*/
index           = WPN_SPECIAL
name            = category special
sphere          = WPN_ROOT
hands           =   1
type            =  WPNT_NONE
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {90, 0,50}
attack sleather = {90, 0,50}
attack hleather = {90, 0,50}
attack chain    = {90, 0,50}
attack plate    = {90, 0,50} /*special*/

index           = WPN_BATTLE_AXE
name            = battle axe
sphere          = WPN_AXE_HAM
hands           =   2
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  +2
race halfling   =  -2
race gnome      =  -2
race half-orc   =  +1
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {20, 9, 4}
attack sleather = {25, 9, 5}
attack hleather = {32, 9, 6}
attack chain    = {40, 9, 7}
attack plate    = {50, 9, 8} /*bat axe*/

index           = WPN_HAND_AXE
name            = hand axe
sphere          = WPN_AXE_HAM
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_USELESS
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =  +2
race halfling   =   0
race gnome      =  -1
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   1
attack clothes  = {20, 2,10}
attack sleather = {25, 2,11}
attack hleather = {33, 2,12}
attack chain    = {40, 2,13}
attack plate    = {50, 2,14} /*dagger*/

index           = WPN_WAR_MATTOCK
name            = war mattock
sphere          = WPN_AXE_HAM
hands           =   2
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_REDUCE
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  +1
race halfling   =  -2
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   6
attack clothes  = {20, 8, 4}
attack sleather = {25, 8, 5}
attack hleather = {32, 8, 6}
attack chain    = {40, 8, 7}
attack plate    = {50, 8, 8} /*w matto*/

index           = WPN_WAR_HAMMER
name            = war hammer
sphere          = WPN_AXE_HAM
hands           =   1
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_REDUCE
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  +1
race halfling   =   0
race gnome      =  -1
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {20, 4, 7}
attack sleather = {25, 4, 8}
attack hleather = {32, 4, 9}
attack chain    = {40, 4,10}
attack plate    = {50, 4,11} /*w hammer*/

index           = WPN_GREAT_SWORD
name            = great sword
sphere          = WPN_SWORD
hands           =   2
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  -2
race halfling   =  -2
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +2
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {20, 9, 4}
attack sleather = {25, 9, 5}
attack hleather = {32, 9, 6}
attack chain    = {40, 9, 7}
attack plate    = {50, 9, 8} /*gr sword*/

index           = WPN_SCIMITAR
name            = scimitar
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =  -1
race gnome      =  -1
race half-orc   =  +3
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   4
attack clothes  = {20, 5, 9}
attack sleather = {25, 5,10}
attack hleather = {32, 5,11}
attack chain    = {40, 5,12}
attack plate    = {50, 5,13} /* scimit */

index           = WPN_KATANA
name            = katana
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =  -1
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   3
attack clothes  = {20, 5, 6}
attack sleather = {25, 5, 7}
attack hleather = {32, 5, 8}
attack chain    = {40, 5, 9}
attack plate    = {50, 5,10} /* katana */

index           = WPN_FALCHION
name            = falchion
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =  -1
race gnome      =  -1
race half-orc   =  +2
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {20, 4, 8}
attack sleather = {25, 4, 9}
attack hleather = {32, 4,10}
attack chain    = {40, 4,11}
attack plate    = {50, 4,12} /* falchi */


index           = WPN_KOPESH
name            = kopesh
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =  -1
race gnome      =  -1
race half-orc   =  +1
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {20, 4, 9}
attack sleather = {25, 4,10}
attack hleather = {32, 4,11}
attack chain    = {40, 4,12}
attack plate    = {50, 4,13} /* kopesh */

index           = WPN_BROAD_SWORD
name            = broad sword
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =  -2
race gnome      =  -1
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   6
attack clothes  = {20, 5, 8}
attack sleather = {25, 5, 9}
attack hleather = {32, 5,10}
attack chain    = {40, 5,11}
attack plate    = {50, 5,12} /*br sword*/

index           = WPN_LONG_SWORD
name            = long sword
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =  -2
race gnome      =  -1
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -2
race groll      =   0
race darkelf    =  +1
fumble          =   4
attack clothes  = {20, 4, 7}
attack sleather = {25, 4, 8}
attack hleather = {32, 4, 9}
attack chain    = {40, 4,10}
attack plate    = {50, 4,11} /*lo sword*/

index           = WPN_RAPIER
name            = rapier
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =  -1
race gnome      =  -1
race half-orc   =  -1
race half-ogre  =  -1
race half-elf   =   0
race brownie    =  -1
race groll      =  -1
race darkelf    =   0
fumble          =   2
attack clothes  = {20, 6, 9}
attack sleather = {25, 6,10}
attack hleather = {32, 6,11}
attack chain    = {40, 6,12}
attack plate    = {50, 6,13} /* rapier */

index           = WPN_SHORT_SWORD
name            = short sword
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =  +1
race gnome      =   0
race half-orc   =   0
race half-ogre  =  -1
race half-elf   =   0
race brownie    =  +1
race groll      =   0
race darkelf    =   0
fumble          =   4
attack clothes  = {20, 4, 9}
attack sleather = {25, 4,10}
attack hleather = {32, 4,11}
attack chain    = {40, 4,12}
attack plate    = {50, 4,13} /*sh sword*/

index           = WPN_DAGGER
name            = dagger
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_PIERCE
shield          = SHIELD_M_USELESS
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =  +1
race gnome      =  +1
race half-orc   =   0
race half-ogre  =  -2
race half-elf   =   0
race brownie    =  +2
race groll      =   0
race darkelf    =   0
fumble          =   1
attack clothes  = {20, 2,11}
attack sleather = {25, 2,12}
attack hleather = {32, 2,13}
attack chain    = {40, 2,14}
attack plate    = {50, 2,15} /*dagger*/

index           = WPN_BATTLE_MACE
name            = battle mace
sphere          = WPN_CLUB_MACE
hands           =   2
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_REDUCE
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  +1
race halfling   =  -2
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +2
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   4
attack clothes  = {20, 8, 5}
attack sleather = {25, 8, 6}
attack hleather = {32, 8, 7}
attack chain    = {40, 8, 8}
attack plate    = {50, 8, 9} /*b mace*/

index           = WPN_MACE
name            = mace
sphere          = WPN_CLUB_MACE
hands           =   1
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  +1
race halfling   =   0
race gnome      =  -1
race half-orc   =  +1
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {20, 4, 9}
attack sleather = {25, 4,10}
attack hleather = {32, 4,11}
attack chain    = {40, 4,12}
attack plate    = {50, 4,13} /*mace*/

index           = WPN_BATTLE_CLUB
name            = battle club
sphere          = WPN_CLUB_MACE
hands           =   2
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  +1
race halfling   =  -2
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +2
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   3
attack clothes  = {20, 6, 6}
attack sleather = {25, 6, 7}
attack hleather = {32, 6, 8}
attack chain    = {40, 6, 9}
attack plate    = {50, 6,10} /*b club */

index           = WPN_CLUB
name            = club
sphere          = WPN_CLUB_MACE
hands           =   1
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_REDUCE
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  +1
race halfling   =   0
race gnome      =  -1
race half-orc   =  +2
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {20, 3,10}
attack sleather = {25, 3,11}
attack hleather = {32, 3,12}
attack chain    = {40, 3,13}
attack plate    = {50, 3,14} /*club*/

index           = WPN_MORNING_STAR
name            = morning star
sphere          = WPN_CLUB_MACE
hands           =   1
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_USELESS /* because its chained */
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =   0
race gnome      =  -2
race half-orc   =  +1
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -2
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {20, 4, 7}
attack sleather = {25, 4, 8}
attack hleather = {32, 4, 9}
attack chain    = {40, 4,10}
attack plate    = {50, 4,11} /*morn st*/

index           = WPN_FLAIL
name            = flail
sphere          = WPN_CLUB_MACE
hands           =   2
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK /* because its chained */
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =  -1
race gnome      =  -2
race half-orc   =  +1
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -2
race groll      =   0
race darkelf    =   0
fumble          =   8
attack clothes  = {20, 9, 5}
attack sleather = {25, 9, 6}
attack hleather = {32, 9, 7}
attack chain    = {40, 9, 8}
attack plate    = {50, 9, 9} /* flail */

index           = WPN_QUARTERSTAFF
name            = quarterstaff
sphere          = WPN_POLEARM
hands           =   1
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_USELESS
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =   0
race gnome      =  +1
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   3
attack clothes  = {20, 3, 7}
attack sleather = {25, 3, 8}
attack hleather = {32, 3, 9}
attack chain    = {40, 3,10}
attack plate    = {50, 3,11} /* staff */

index           = WPN_SPEAR
name            = spear
sphere          = WPN_POLEARM
hands           =   1
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {20, 6, 6}
attack sleather = {25, 6, 7}
attack hleather = {32, 6, 8}
attack chain    = {40, 6, 9}
attack plate    = {50, 6,10} /* spear */

index           = WPN_HALBERD
name            = halberd
sphere          = WPN_POLEARM
hands           =   2
type            =  WPNT_SLASH
shield          = SHIELD_M_REDUCE
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =  -1
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +2
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   7
attack clothes  = {20, 9, 4}
attack sleather = {25, 9, 5}
attack hleather = {32, 9, 6}
attack chain    = {40, 9, 7}
attack plate    = {50, 9, 8} /*halberd*/

index           = WPN_BARDICHE
name            = bardiche
sphere          = WPN_POLEARM
hands           =   2
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =  -1
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   7
attack clothes  = {20, 9, 5}
attack sleather = {25, 9, 6}
attack hleather = {32, 9, 7}
attack chain    = {40, 9, 8}
attack plate    = {50, 9, 9} /*bardiche*/

index           = WPN_SICKLE
name            = sickle
sphere          = WPN_POLEARM
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -2
race halfling   =  -2
race gnome      =  -1
race half-orc   =  +1
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -2
race groll      =   0
race darkelf    =   0
fumble          =   4
attack clothes  = {20, 3,10}
attack sleather = {25, 3,11}
attack hleather = {32, 3,12}
attack chain    = {40, 3,13}
attack plate    = {50, 3,14} /*sickle */

index           = WPN_SCYTHE
name            = scythe
sphere          = WPN_POLEARM
hands           =   2
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  -2
race halfling   =  -2
race gnome      =  -1
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -2
race groll      =   0
race darkelf    =   0
fumble          =   6
attack clothes  = {20, 9, 4}
attack sleather = {25, 9, 5}
attack hleather = {32, 9, 6}
attack chain    = {40, 9, 7}
attack plate    = {50, 9, 8} /*scythe */

index           = WPN_TRIDENT
name            = trident
sphere          = WPN_POLEARM
hands           =   2
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =   0
race gnome      =  -1
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -2
race groll      =  +3
race darkelf    =   0
fumble          =   5
attack clothes  = {20, 9, 8}
attack sleather = {25, 9, 9}
attack hleather = {32, 9,10}
attack chain    = {40, 9,11}
attack plate    = {50, 9,12} /*trident*/

index           = WPN_FIST
name            = fist
sphere          = WPN_UNARMED
hands           =   1
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =  +2
race halfling   =  +1
race gnome      =  -1
race half-orc   =   0
race half-ogre  =  +2
race half-elf   =   0
race brownie    =  -1
race groll      =  +1
race darkelf    =   0
fumble          =   1
attack clothes  = {20, 1,11}
attack sleather = {25, 1,12}
attack hleather = {32, 1,12}
attack chain    = {40, 1,13}
attack plate    = {50, 1,14} /* fist */

index           = WPN_KICK
name            = kick
sphere          = WPN_UNARMED
hands           =   1
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =  -2
race halfling   =  +1
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -2
race groll      =  +2
race darkelf    =   0
fumble          =   2
attack clothes  = {20, 2, 9}
attack sleather = {25, 2,10}
attack hleather = {32, 2,10}
attack chain    = {40, 2,11}
attack plate    = {50, 2,12} /* kick */

index           = WPN_BITE
name            = bite
sphere          = WPN_UNARMED
hands           =   1
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =  +2
race darkelf    =   0
fumble          =   2
attack clothes  = {20, 3, 6}
attack sleather = {25, 3, 7}
attack hleather = {32, 3, 7}
attack chain    = {40, 3, 8}
attack plate    = {50, 3,10} /* bite */

index           = WPN_STING
name            = sting
sphere          = WPN_UNARMED
hands           =   1
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {20, 3, 6}
attack sleather = {25, 3, 7}
attack hleather = {32, 3, 7}
attack chain    = {40, 3, 8}
attack plate    = {50, 3,10} /* sting */

index           = WPN_CLAW
name            = claw
sphere          = WPN_UNARMED
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
fumble          =   2
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =   0
race groll      =  +3
race darkelf    =   0
attack clothes  = {20, 2, 6}
attack sleather = {25, 2, 7}
attack hleather = {32, 2, 7}
attack chain    = {40, 2, 8}
attack plate    = {50, 2, 9} /* claw */

index           = WPN_CRUSH
name            = crush
sphere          = WPN_UNARMED
hands           =   1
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =  +2
race half-elf   =   0
race brownie    =   0
race groll      =   0
race darkelf    =   0
fumble          =   2
attack clothes  = {20, 2, 6}
attack sleather = {25, 2, 7}
attack hleather = {32, 2, 7}
attack chain    = {40, 2, 8}
attack plate    = {50, 2,11} /* crush */

index           = WPN_WHIP
name            = whip
sphere          = WPN_SPECIAL
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_USELESS /* because its a whip... */
speed           =   2
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =   0
race gnome      =  -2
race half-orc   =   0
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   6
attack clothes  = {20, 3,10}
attack sleather = {25, 3,11}
attack hleather = {32, 3,12}
attack chain    = {40, 3,13}
attack plate    = {50, 3,14} /* whip */

index           = WPN_WAKIZASHI
name            = wakizashi
sphere          = WPN_SWORD
hands           = 1
type            = WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =  1
race human      =  0
race elf        =  0
race dwarf      =  0
race halfling   =  +2
race gnome      =  0
race half-orc   =  0
race half-ogre  = -1
race half-elf   =  0
race brownie    = +1
race groll      =  0
race darkelf    =  0
fumble          = 3
attack clothes  = {20, 3, 9}
attack sleather = {25, 3,10}
attack hleather = {32, 3,11}
attack chain    = {40, 3,12}
attack plate    = {50, 3,13}   /*wakizashi*/

index           = WPN_BOW
name            = bow
sphere          = WPN_SPECIAL
hands           =   1
type            = WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =  +2
race dwarf      =  -1
race halfling   =   0
race gnome      =  -1
race half-orc   =   0
race half-ogre  =  -2
race half-elf   =  +1
race brownie    =   0
race groll      =  -1
race darkelf    =  +2
fumble          =   1
attack clothes  = {50, 2,11}
attack sleather = {40, 2,12}
attack hleather = {30, 1,12}
attack chain    = {20, 1,13}
attack plate    = {10, 0,14} /*bow*/

index           = WPN_CROSSBOW
name            = crossbow
sphere          = WPN_SPECIAL
hands           =   1
type            = WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =  +2
race elf        =  +1
race dwarf      =   0
race halfling   =  -1
race gnome      =  -1
race half-orc   =  -1
race half-ogre  =  -2
race half-elf   =   0
race brownie    =   0
race groll      =  -1
race darkelf    =  +1
fumble          =   1
attack clothes  = {50, 3,10}
attack sleather = {40, 3,11}
attack hleather = {30, 2,11}
attack chain    = {20, 1,12}
attack plate    = {10, 0,13} /*crossbow*/

index           = WPN_SLING
name            = sling
sphere          = WPN_SPECIAL
hands           =   1
type            = WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =  +1
race halfling   =  +2
race gnome      =  -1
race half-orc   =  +2
race half-ogre  =   0
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   1
attack clothes  = {50, 3,10}
attack sleather = {40, 3,11}
attack hleather = {30, 2,11}
attack chain    = {20, 1,12}
attack plate    = {10, 0,13} /*sling*/

index           = WPN_FIGHTING_STAFF
name            = fighting staff
sphere          = WPN_POLEARM
hands           =   2
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK
speed           =   2
race human      =   1
race elf        =   1
race dwarf      =  -1
race halfling   =  -1
race gnome      =   0
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -1
race groll      =  +2
race darkelf    =   0
fumble          =   3
attack clothes  = {70, 7, 6}
attack sleather = {60, 5, 7}
attack hleather = {50, 5, 7}
attack chain    = {40, 2, 9}
attack plate    = {16, 1, 10} /*fighting staff*/

index           = WPN_SABER
name            = saber
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =  -1
race gnome      =  -1
race half-orc   =  -1
race half-ogre  =  -1
race half-elf   =   0
race brownie    =  -1
race groll      =  -1
race darkelf    =   0
fumble          =   4
attack clothes  = {60, 6, 9}
attack sleather = {40, 4,10}
attack hleather = {35, 3,10}
attack chain    = {25, 1,11}
attack plate    = {15, 0,12} /* saber */

index           = WPN_CUTLASS
name            = cutlass
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =  -1
race gnome      =  -1
race half-orc   =  -1
race half-ogre  =  -1
race half-elf   =   0
race brownie    =  -1
race groll      =  -1
race darkelf    =   0
fumble          =   4
attack clothes  = {60, 5, 8}
attack sleather = {45, 3,10}
attack hleather = {30, 3,11}
attack chain    = {20, 2,12}
attack plate    = {10, 0,13} /* cutlass, better than shortsword, worse than rapire */

index           = WPN_MACHETE
name            = machete
sphere          = WPN_SWORD
hands           =   1
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   0
race human      =   0
race elf        =   0
race dwarf      =   0
race halfling   =  +1
race gnome      =  +1
race half-orc   =   0
race half-ogre  =  -2
race half-elf   =   0
race brownie    =  +2
race groll      =   0
race darkelf    =   0
fumble          =   1
attack clothes  = {52, 2,11}
attack sleather = {42, 2,11}
attack hleather = {32, 1,12}
attack chain    = {22, 1,12}
attack plate    = {12, 0,14} /* machete, slightly better than dagger*/

index           = WPN_LANCE
name            = lance
sphere          = WPN_POLEARM
hands           =   2
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {68, 9, 6}
attack sleather = {58, 7, 7}
attack hleather = {48, 5, 7}
attack chain    = {38, 3, 8}
attack plate    = {18, 1, 9} /* lance */

index           = WPN_SHOCK_LANCE
name            = shock lance
sphere          = WPN_POLEARM
hands           =   1
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {48, 5,  8}
attack sleather = {38, 4,  8}
attack hleather = {28, 4,  9}
attack chain    = {18, 2, 10}
attack plate    = { 8, 1, 12} /* shock lance */

index           = WPN_PIKE
name            = pike
sphere          = WPN_POLEARM
hands           =   1
type            =  WPNT_PIERCE
shield          = SHIELD_M_BLOCK
speed           =   1
race human      =   0
race elf        =   0
race dwarf      =  -1
race halfling   =   0
race gnome      =   0
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -1
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {50, 5, 5}
attack sleather = {40, 5, 6}
attack hleather = {30, 4, 8}
attack chain    = {20, 2,10}
attack plate    = {10, 1,12} /* pike like spear but better on unarm */

index           = WPN_GREAT_AXE
name            = great axe
sphere          = WPN_AXE_HAM
hands           =   2
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  +2
race halfling   =  -2
race gnome      =  -2
race half-orc   =  +1
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {75, 9, 4}
attack sleather = {60, 8, 5}
attack hleather = {50, 6, 6}
attack chain    = {40, 4, 7}
attack plate    = {20, 1, 8} /*great axe*/

index           = WPN_BATTLE_SWORD
name            = battle sword
sphere          = WPN_SWORD
hands           =   2
type            =  WPNT_SLASH
shield          = SHIELD_M_BLOCK
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  -2
race halfling   =  -2
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +2
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   5
attack clothes  = {72, 9, 4}
attack sleather = {60, 8, 5}
attack hleather = {50, 7, 6}
attack chain    = {40, 5, 7}
attack plate    = {20, 2, 8} /*battle sword*/

index           = WPN_WAR_MAUL
name            = maul
sphere          = WPN_AXE_HAM
hands           =   2
type            =  WPNT_BLUDGEON
shield          = SHIELD_M_BLOCK
speed           =   3
race human      =   0
race elf        =   0
race dwarf      =  +1
race halfling   =  -2
race gnome      =  -2
race half-orc   =   0
race half-ogre  =  +1
race half-elf   =   0
race brownie    =  -3
race groll      =   0
race darkelf    =   0
fumble          =   6
attack clothes  = {75, 7, 4}
attack sleather = {60, 6, 5}
attack hleather = {50, 5, 6}
attack chain    = {38, 3, 8}
attack plate    = {22, 1, 9} /* maul */


#include 
#include