onAction

From OpenKore Wiki
Revision as of 23:23, 26 April 2021 by 4epT (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
onAction [<AI sequences>]
If this option is set, the block will only be used if at least one of the specified comma-separated list of AI sequences is curently active.
notOnAction [<AI sequences>]
If this option is set, the block will only be used if none of the specified comma-separated list of AI sequences is curently active.

Notes

There are around 29 known AI sequences, but the following are the only ones you can use in this option:

AI Sequence Block Options Supported
attack attackComboSlot, attackSkillSlot, useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto
follow buyAuto, useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto
items_gather useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto
items_take useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto
mapRoute useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto
move partySkill, monsterSkill
route buyAuto, useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto
sitAuto useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto
skill_use useSelf_item, useSelf_skill, equipAuto
take useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto

Examples

useSelf_skill Heal {
	hp < 20%
	notOnAction sitAuto
}
Use Heal when hp is bellow 20% and AI is not sitAuto.