This is the perl version of the calchits utility distributed with the umoria sources. This utility prints out information about objects in the game that match a pattern supplied on the command line. It can also determine the amount of damage various weapons can do in the hands of your character, taking into account the weight of the weapon and chances of critical hits. The usege follows: __> calchits -h calchits: Unknown option: h usage: calchits [-c] [--calcdam] Calculate damage done. [off] [-d] [--dexterity] # Character dexterity. [18] [-l] [--level] # Character Level. [18] [-s] [--strength] # Character strength. [18] [-v] [--verbose] Generate verbose output. [off] -- pattern and heres a sample output: __> calchits -c -l 34 -d 18/100 -s 18/100 Dagger Moria Help 1 Name +hit +dam Ac +AC Type Lvl Cost Weight Damage Avg ----------------------------------------------------------------------------- Dagger (Main 0 0 0 0 SWORD 2 25 30 | 1d5 3.00 Gauche) Dagger 0 0 0 0 SWORD 0 10 15 | 1d4 2.50 (Misericorde) Dagger (Stiletto) 0 0 0 0 SWORD 0 10 12 | 1d4 2.50 Dagger (Bodkin) 0 0 0 0 SWORD 1 10 20 | 1d4 2.50 Moria Weapons Help 1 Name Blows Weight Weight Average w/ Critical max real ratio Damage Hits +th ----------------------------------------------------------------------------- Dagger (Main Gauche) 4 4 3.0 39.3333 12 12.5299 0.0184 Dagger (Misericorde) 4 4 1.5 78.6667 10 10.1890 0.0158 Dagger (Stiletto) 4 4 1.2 98.3333 10 10.1487 0.0155 Dagger (Bodkin) 4 4 2.0 59.0000 10 10.2979 0.0162