useSelf skill: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '; useSelf_skill [<skill name>] : Automatically use skills on self when certain conditions are met. This block specifies the skill to automatically use …')
 
No edit summary
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
; useSelf_skill [<[[References#Skill Names|skill name]]>]
Uses skill on caster (usually your character) when all specified conditions are met.
: Automatically use skills on self when certain conditions are met. This block specifies the skill to automatically use on self.


'''Syntax:'''
== Syntax ==
  useSelf_skill [<skill name>] {
  useSelf_skill <[[References#Skill_Names|skill name]]> {
  smartEncore [<boolean flag>]
  [smartEncore <[[boolean]]>]
   
   
  # [[References#Skill Use Conditions|Skill Use Conditions]]
  # [[:Category:Skill Use Condition|Skill Use Conditions]]
  # [[References#Self Conditions|Self Conditions]]
  # [[:Category:Self Condition|Self Conditions]]
  }
  }


''' Attribute definitions'''
=== Attribute definitions ===


:; smartEncore [<boolean flag>]
; useSelf_skill <[[References#Skill_Names|skill name]]>
:: If this option is set, Kore will use the Encore skill instead of the specified skill if Encore would cause this skill to be cast (saves SP for bards and dancers).  
: This block specifies the skill to automatically use on self.




''' Example '''
; smartEncore <[[boolean]]>
: If this option is set, Kore will use [http://irowiki.org/wiki/Encore Encore] skill instead of the specified skill if Encore would cause this skill to be cast (saves SP for bards and dancers).


* Use Crazy Uproar when the skill status if off and SP is higher than 8.
 
  useSelf_skill Crazy Uproar {
== 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 [[References#Skill_Names|MC_LOUD]] {
  lvl 1
  lvl 1
  sp > 8
  sp > 8
  whenStatusInactive Crazy Uproar
  whenStatusInactive [[References#Status_Names|EFST_SHOUT]]
  }
  }


[[Category:config.txt]]
[[Category:config.txt]]
[[Category:Skills]]
[[Category:skills]]
[[Category:config block]]

Latest revision as of 19:30, 27 April 2021

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
}