• Home
  • API reference
  • Source code
Show / Hide Table of Contents
  • osrlib.Controllers
    • GameManager
  • osrlib.Core
    • Ability
    • AbilityType
    • Adventure
    • Alignment
    • Being
    • BeingTargetingEventArgs
    • BeingTargetingEventHandler
    • CharacterClass
    • Dungeon
    • Encounter
    • GameAction
    • GameActionEventArgs
    • GameActionEventHandler
    • GamePosition
    • Modifier
    • Party
    • Quest
    • User
    • Weapon
    • WeaponType
  • osrlib.Dice
    • DiceHand
    • DiceRoll
    • DiceRolledEventArgs
    • DiceRolledEventHandler
    • Die
  • osrlib.SaveLoad
    • SaveLoadLocal
    • SaveType
  • osrlib.Tests
    • CoreRulesTests
    • DiceTests
    • PartyGenerator
    • ReadMeTests
    • SaveLoadTests
    • SteppedBattleTests
  • osrlib.Utility
    • Randomizer

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.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX