partySkill: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  partySkill <[[References#Skill_Names|skill name]]> {
  partySkill <[[References#Skill_Names|skill name]]> {
  notPartyOnly <[[boolean]]>
  notPartyOnly <[[boolean]]>
  dist <[[range]]>
  dist <[[References#Range_Operators|range]]>
  target {<player names> | @homunculus | @mercenary}
  target {<[[player name]]s> | @homunculus | @mercenary}
   
   
  # [[:Category:Skill Use Condition|Skill Use Condition]]s, including [[isSelfSkill]]
  # [[:Category:Skill Use Condition|Skill Use Condition]]s, including [[isSelfSkill]]
Line 19: Line 19:




; dist <range>
; dist <[[References#Range_Operators|range]]>
: This option specifies the distance (in number of blocks) from the monster that Kore will move to before using this skill.
: This option specifies the distance (in number of blocks) from the monster that Kore will move to before using this skill.


Line 60: Line 60:
[[Category:skills]]
[[Category:skills]]
[[Category:config block]]
[[Category:config block]]
[[Category:Party]]
[[Category:party]]

Latest revision as of 19:26, 27 April 2021

Automatically use skills on players when specified conditions are met.

Syntax

partySkill <skill name> {
	notPartyOnly <boolean>
	dist <range>
	target {<player names> | @homunculus | @mercenary}

	# Skill Use Conditions, including isSelfSkill
	# Self Conditions
	# Target Player Conditions
}

Attribute definitions


partySkill <skill name>
This option specifies the skill to automatically use on players as long as you are not currently using any other skill.


dist <range>
This option specifies the distance (in number of blocks) from the monster that Kore will move to before using this skill.
Notes:


notPartyOnly <boolean flag>
By default, Kore will only use party skills on members of your party. If this option is set to 1, Kore will also be allowed to use this on non-party members.


target {<player names> | @homunculus | @mercenary}
If this option is set, Kore will only use the specified skill on the specified comma-separated list of players/party members. @homunculus and @mercenary used to refer to your active ones. If this option is left blank, Kore will use the skill on all players/party members.


Notes

Examples

  • Use Blessing level 10 on all your party members when your SP is higher than 64 and they aren't with Blessing status.
partySkill AL_BLESSING {
 	lvl 10
 	sp > 64
 	target_whenStatusInactive EFST_BLESSING
}


  • Use Increase AGI level 10 on everybody near your when your SP is higher than 45 and they aren't with Increase AGI status.
partySkill AL_INCAGI {
 	lvl 10
 	sp > 45
	notPartyOnly 1
 	target_whenStatusInactive EFST_AGIUP
}