priority.txt: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with 'The file '''priority.txt''' allows you to specify priority monsters that Kore will attack first. ==Syntax== The format of this file is basically a set of lines that observes the…')
 
No edit summary
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The file '''priority.txt''' allows you to specify priority monsters that Kore will attack first.
Monster attack priorities.


==Syntax==
== Syntax ==
The format of this file is basically a set of lines that observes the following syntax:
The format of this file is basically a set of lines that observes the following syntax:
  <monster name>
  <monster name>


==Details==
=== Details ===
===<monster name>===
----
This is the name of a monster as it appears in tables\monsters.txt. The order in which the monster names appear in this file is important. Upper entries have more priority than lower entries.


==Examples==
; <[[References#Monster_Names|monster name]]>
: This is the name of a monster. The order in which the monster names appear in this file is important. Upper entries have more priority than lower entries.
 
 
== Examples ==
In the following example, if Kore is attacked by an Orc Lady, an Orc Warrior, an Orc Archer and a High Orc, Kore will try to kill the High Orc first, then turn to the Orc Archer. The Orc Lady and Orc Warrior, having no priority at all, will be attacked with no definite order.  
In the following example, if Kore is attacked by an Orc Lady, an Orc Warrior, an Orc Archer and a High Orc, Kore will try to kill the High Orc first, then turn to the Orc Archer. The Orc Lady and Orc Warrior, having no priority at all, will be attacked with no definite order.  
  High Orc
  High Orc
  Orc Archer
  Orc Archer


'''''Note.''''' Lines that begin with the pound sign (#) are comment lines. They are ignored by Openkore
 
[[Category:control]]

Latest revision as of 23:49, 26 April 2021

Monster attack priorities.

Syntax

The format of this file is basically a set of lines that observes the following syntax:

<monster name>

Details


<monster name>
This is the name of a monster. The order in which the monster names appear in this file is important. Upper entries have more priority than lower entries.


Examples

In the following example, if Kore is attacked by an Orc Lady, an Orc Warrior, an Orc Archer and a High Orc, Kore will try to kill the High Orc first, then turn to the Orc Archer. The Orc Lady and Orc Warrior, having no priority at all, will be attacked with no definite order.

High Orc
Orc Archer