Difference between revisions of "partySkill"

From OpenKore Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
; partySkill [<[[References#Skill Names|skill name]]>]
+
Automatically use skills on players when specified conditions are met.
: Kore can automatically use skills on players. This option specifies the skill to automatically use on players as long as you are not currently using any other skill.
 
  
''' Syntax '''
+
== Syntax ==
 
  partySkill [<skill name>] {
 
  partySkill [<skill name>] {
 
  notPartyOnly [<boolean flag>]
 
  notPartyOnly [<boolean flag>]
Line 13: Line 12:
 
  }
 
  }
  
 +
=== Attribute definitions ===
 +
----
 +
 +
 +
; partySkill [<[[References#Skill Names|skill name]]>]
 +
: This option specifies the skill to automatically use on players as long as you are not currently using any other skill.
  
''' Attribute definitions '''
 
  
:; notPartyOnly [<boolean flag>]
+
; 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.
+
: 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 [<[[References#Player Names|player names]]>]
 
:: If this option is set, Kore will only use the specified skill on the specified comma-separated list of players/party members. If this option is left blank, Kore will use the skill on all players/party members.
 
  
:; isSelfSkill [<boolean flag>]
+
; target [<[[References#Player Names|player names]]>]
:: This option specifies whether the skill will be used on self or on the target monster. If this option is set to '''1''', Kore will use the skill on itself, otherwise if this is set to '''0''' (which is the default value), Kore will use the skill on the a target.
+
: If this option is set, Kore will only use the specified skill on the specified comma-separated list of players/party members. If this option is left blank, Kore will use the skill on all players/party members.
  
::: '''''Note:'''''
 
:::* You must set this option to the correct value. Useful for Magnificat or Gloria and other no-tagetable skills.
 
  
 +
; isSelfSkill [<boolean flag>]
 +
: This option specifies whether the skill will be used on self or on the target monster. If this option is set to '''1''', Kore will use the skill on itself, otherwise if this is set to '''0''' (which is the default value), Kore will use the skill on the a target.
  
''' Examples '''
+
:: '''''Note:'''''
 +
::* You must set this option to the correct value. Useful for Magnificat or Gloria and other no-tagetable skills.
 +
 
 +
 
 +
== Examples ==
 
* Use Blessing level 10 on all your party members when your SP is higher than 20 and they aren't with Blessing status.
 
* Use Blessing level 10 on all your party members when your SP is higher than 20 and they aren't with Blessing status.
 
  partySkill Blessing {
 
  partySkill Blessing {
Line 44: Line 50:
 
   target_whenStatusInactive Increase AGI
 
   target_whenStatusInactive Increase AGI
 
  }
 
  }
 +
  
 
[[Category:config.txt]]
 
[[Category:config.txt]]
 
[[Category:skills]]
 
[[Category:skills]]

Revision as of 00:58, 13 December 2009

Automatically use skills on players when specified conditions are met.

Syntax

partySkill [<skill name>] {
	notPartyOnly [<boolean flag>]
	target [<player names>]
	isSelfSkill [<boolean flag>] v.1.9.0

	# Skill Use Attributes
	# 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.


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>]
If this option is set, Kore will only use the specified skill on the specified comma-separated list of players/party members. If this option is left blank, Kore will use the skill on all players/party members.


isSelfSkill [<boolean flag>]
This option specifies whether the skill will be used on self or on the target monster. If this option is set to 1, Kore will use the skill on itself, otherwise if this is set to 0 (which is the default value), Kore will use the skill on the a target.
Note:
  • You must set this option to the correct value. Useful for Magnificat or Gloria and other no-tagetable skills.


Examples

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