bw logo

Chapter 6. capabilities.xml

For details on match triggers and capability flags, see:

Used to create alias for entity capabilities (which are then used to trigger or cancel actions by Action Matcher), and located under fantasydemo/res/scripts/common, the grammar of capabilities.xml is described below:

<capabilities.xml>

  *<state> integer
      <name>  string  </name>
      <id>    string  </id>
   </state>

</capabilities.xml>

Grammar of fantasydemo/res/scripts/common/capabilities.xml

The list below describes the tags in flags.xml:

  • id

    Python-safe name of the capability, which can be used in scripts.

  • name

    Name of the capability.

  • state

    Number representing the capability bit, integer in the range 0 - 31.