Enum WeaponType
Specifies the type of weapon or whether the weapon is an offensive (attack) spell. Used in determining which ability modifiers to apply to attack and damage rolls, as well as whether a target is within attack range.
Namespace: osrlib.Core
Assembly: osrlib.Core.dll
Syntax
public enum WeaponType
Fields
Name | Description |
---|---|
Melee | Martial weapon wielded in close combat. Examples: sword, axe, mace, spear. |
Ranged | Martial weapon with extended attack range. Examples: bow, javelin, dart, throwing axe. |
Spell | Offensive (attack) spell. All offensive spells are considered ranged weapons. |