Difference between revisions of "useSelf skill"

From OpenKore Wiki
Jump to navigation Jump to search
m
m
Line 20: Line 20:
  
 
== Examples ==
 
== Examples ==
Use [[References#Skill Names|skill Crazy Uproar]] on yourself if you do not have [[References#Status Names|status Crazy Uproar]] active and your SP is higher than 8.
+
Use skill Crazy Uproar on yourself if you do not have status Crazy Uproar active and your SP is higher than 8.
  
 
  useSelf_skill Crazy Uproar {
 
  useSelf_skill Crazy Uproar {

Revision as of 10:22, 21 September 2012

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 Crazy Uproar {
	lvl 1
	sp > 8
	whenStatusInactive Crazy Uproar
}