For the complete documentation index, see llms.txt. This page is also available as Markdown.

📑MonsterAIElement

Concrete actions that a monster can perform (move, attack, heal, flee, summon, etc.), used by MonsterAIUnit.txt.

Column
Accepted Values
Description

Index

Number, one per action

Identifies this action. Referenced by the AIClass... slots in MonsterAIUnit.txt.

Name

Text enclosed in quotes

Action name, used for identification only.

Class

Number

Action category (groups actions of the same type).

Type

Number (fixed code)

Defines what the action actually does—see the table below.

SuccessRate

Number (%)

Chance that the action is actually performed when it is selected.

DelayTime

Number, in milliseconds

Minimum interval between repetitions of this action.

TargetType

Number, or *

Determines how the monster selects the target for this action.

X / Y

Coordinates, or *

Position used by movement actions that move to a fixed point (Type = "move to target location"). * = no fixed position used.

Type Values

Type
Action

1

Common/normal behavior

11

Move freely

12

Move to a fixed point (uses X/Y)

13

Move the entire group

14

Move the entire group to a fixed point

21

Perform a normal attack

22

Perform an area attack

23

Perform a piercing attack (hits targets behind the primary target)

31

Heal itself

32

Heal the group

41

Flee/avoid

51

Support the group by healing

52

Support the group with a buff

62

Summon other monsters

64

Become immune

65

Summon nightmare monsters

66

Teleport

67

Use an attack skill

68

Switch AI profile

71

Event action

Notes

  • Type values come from a fixed server-defined list—it is not possible to create a new action type simply by editing this file.

Last updated