Difference between revisions of "useSelf skill"

From OpenKore Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
== Syntax ==
 
== Syntax ==
 
  useSelf_skill <[[References#Skill_Names|skill name]]> {
 
  useSelf_skill <[[References#Skill_Names|skill name]]> {
  [smartEncore <boolean>]
+
  [smartEncore <[[boolean]]>]
 
   
 
   
 
  # [[:Category:Skill Use Condition|Skill Use Conditions]]
 
  # [[:Category:Skill Use Condition|Skill Use Conditions]]
Line 25: Line 25:
 
  lvl 1
 
  lvl 1
 
  sp > 8
 
  sp > 8
  whenStatusInactive [[status name|EFST_SHOUT]]
+
  whenStatusInactive [[References#Status_Names|EFST_SHOUT]]
 
  }
 
  }
  

Revision as of 01:54, 10 February 2013

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
}