Repository navigation
EN Runtime API 06 Weapon Abilities
Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
Home · C# · IDE · UO API · A–Z · Examples · Languages
Each team opens a card with C#-signatures, parameters and several independent examples.
Resolves the name of a weapon's ability to its numeric ID via the client ability catalog. For the inverse conversion, use GetAbilityName.
Returns the name of the weapon's ability at ID, starting with 1. Unknown ID returns the empty string.
Returns the name of the character's currently active combat ability as a string.
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.
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.
Activates the primary weapon ability of the currently equipped weapon.
Activates the secondary weapon ability of the currently equipped weapon.
ClassicUO — Bad Newbie & C# Scripts IDE