useSelf skill

From OpenKore Wiki
Revision as of 19:30, 27 April 2021 by 4epT (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Uses skill on caster (usually your character) when all specified conditions are met.

Syntax

useSelf_skill <skill name> {
	[smartEncore <boolean>]

	# Skill Use Conditions
	# Self Conditions
}

Attribute definitions

useSelf_skill <skill name>
This block specifies the skill to automatically use on self.


smartEncore <boolean>
If this option is set, Kore will use Encore skill instead of the specified skill if Encore would cause this skill to be cast (saves SP for bards and dancers).


Examples

Use skill Crazy Uproar on yourself if you do not have status Crazy Uproar active and your SP is higher than 8.

useSelf_skill MC_LOUD {
	lvl 1
	sp > 8
	whenStatusInactive EFST_SHOUT
}