EN Runtime API 01 Combat and Abilities - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki
Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
Runtime API - Combat and abilities
Home · C# · IDE · UO API · A–Z · Examples · Languages
Each team opens a card with C#-signatures, parameters and several independent examples.
UO.Attack
Directs an attack request to a specific serial. Suitable when the target has already been selected by the user or found by another team; There is no independent search by clothing/distance here.
UO.AttackNearest
Selects one suitable combat target and passes it to the attack handler. Filters limit acceptable characters; custom classMask sets equipment and class priority, nearest — choice within a class.
UO.IsWarMode
Checks mobile's fighting stance.
UO.LastAttack
Reads the serial of the last attack target.
UO.SetWarMode
Requests the character's combat or peaceful mode.
UO.WarMode
Reads or queries the character's combat mode.
UO.WarTargetID
Reads the serial of the last attack target.