Skip to content

EN Runtime API 06 Weapon Abilities

Codex edited this page Oct 11, 2026 · 2 revisions

Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어

Runtime API - Weapon Abilities

Home · C# · IDE · UO API · A–Z · Examples · Languages

Each team opens a card with C#-signatures, parameters and several independent examples.

Combat

Resolves the name of a weapon's ability to its numeric ID via the client ability catalog. For the inverse conversion, use GetAbilityName.

Combat

Returns the name of the weapon's ability at ID, starting with 1. Unknown ID returns the empty string.

Combat

Returns the name of the character's currently active combat ability as a string.

Combat

Returns an array of positive ID weapon abilities of the current character. The active ability flag is removed from ID. If there is no character/abilities, the array is empty.

Combat

Activates a weapon ability by its name or numeric ID. CastAbility is an alias of UseAbility. Returns 0 if ID is invalid/no character; Accepting a request does not guarantee a successful hit on the server.

Combat

Activates the primary weapon ability of the currently equipped weapon.

Combat

Activates the secondary weapon ability of the currently equipped weapon.

Clone this wiki locally