ITEM WEAPON: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
v2 = size of damage dice | v2 = size of damage dice | ||
v3 = attack type | v3 = attack type | ||
v4 = weapon type | v4 = weapon type (unused) | ||
<element> is the type of elemental damage the weapon can do. Imagine a | <element> is the type of elemental damage the weapon can do. Imagine a | ||
| Line 25: | Line 25: | ||
<attack type> is a number which defines the attack message that the | <attack type> is a number which defines the attack message that the | ||
weapon produces. | weapon produces. | ||
NUMBER ATTACK MESSAGE | NUMBER ATTACK MESSAGE | ||
0 "hit" "hits" | 0 "hit" "hits" | ||
| Line 41: | Line 41: | ||
12 "blast" "blasts" | 12 "blast" "blasts" | ||
13 "punch" "punchs" | 13 "punch" "punchs" | ||
New types can be added as needed. | New types can be added as needed. | ||
| Line 47: | Line 47: | ||
Make SURE slashing weapons are not usable by clerics. | Make SURE slashing weapons are not usable by clerics. | ||
Calculating damage: | |||
A weapon's basic average damage is calculated by the formula: | A weapon's basic average damage is calculated by the formula: | ||
average damage = number of dice * (dice size+1)/2 | average damage = number of dice * (dice size+1)/2 | ||
Thus, a 1d8 weapon's average damage = 1 * (8+1)/2 = 4.5 | Thus, a 1d8 weapon's average damage = 1 * (8+1)/2 = 4.5 | ||
and a 4d6 weapon's average damage = 4 * (6+1)/2 = 14 | and a 4d6 weapon's average damage = 4 * (6+1)/2 = 14 | ||
See also: [[OEDIT]], [[OSET]], [[ITEM_TYPES]], [[RESISTANCES]] | |||
[[CATEGORY:OLC]] | |||
Latest revision as of 00:10, 24 September 2010
Weapons are used to inflict greater than bare handed damage in combat.
v0 = element (see below) v1 = number of damage dice v2 = size of damage dice v3 = attack type v4 = weapon type (unused)
<element> is the type of elemental damage the weapon can do. Imagine a
Fire Sword that inflicts FIRE damage to the victim. If the
victim is weak against fire, the damage would be increased.
Valid values are:
NONE 0
FIRE 1
WATER 2
EARTH 3
WIND 4
POISON 5
ENERGY 6
SUN 7
PSYCHIC 8
<attack type> is a number which defines the attack message that the
weapon produces.
NUMBER ATTACK MESSAGE
0 "hit" "hits"
1 "sting" "stings"
2 "whip" "whips"
3 "slash" "slashs"
4 "bite" "bites"
5 "bludegon" "bludegon"
6 "crush" "crushs"
7 "pound" "pounds"
8 "claw" "claws"
9 "maul" "mauls"
10 "thrash" "thrashs"
11 "pierce" "pierces"
12 "blast" "blasts"
13 "punch" "punchs"
New types can be added as needed.
Piercing weapons can be used to backstab. Make SURE slashing weapons are not usable by clerics.
Calculating damage: A weapon's basic average damage is calculated by the formula:
average damage = number of dice * (dice size+1)/2 Thus, a 1d8 weapon's average damage = 1 * (8+1)/2 = 4.5 and a 4d6 weapon's average damage = 4 * (6+1)/2 = 14
See also: OEDIT, OSET, ITEM_TYPES, RESISTANCES