Difference between revisions of "partySkill"

From OpenKore Wiki
Jump to navigation Jump to search
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
Automatically use skills on players when specified conditions are met.
 
Automatically use skills on players when specified conditions are met.
  
>== Syntax ==
+
== Syntax ==
  partySkill [<skill name>] {
+
  partySkill <[[References#Skill_Names|skill name]]> {
  notPartyOnly [&lt;boolean flag&gt;]
+
  notPartyOnly <[[boolean]]>
  target [&lt;player names&gt; | @homunculus | @mercenary]
+
dist <[[References#Range_Operators|range]]>
isSelfSkill [&lt;boolean flag&gt;]
+
  target {<[[player name]]s> | @homunculus | @mercenary}
 
   
 
   
  # Skill Use Attributes
+
  # [[:Category:Skill Use Condition|Skill Use Condition]]s, including [[isSelfSkill]]
  # Self Conditions
+
  # [[:Category:Self Condition|Self Condition]]s
  # Target Player Conditions
+
  # [[:Category:Player Condition|Target Player Condition]]s
 
  }
 
  }
  
Line 15: Line 15:
 
----
 
----
  
; partySkill [&lt;[[References#Skill Names|skill name]]&gt;]
+
; 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.
 
: This option specifies the skill to automatically use on players as long as you are not currently using any other skill.
  
  
; notPartyOnly [&lt;boolean flag&gt;]
+
; 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.
 +
 
 +
::'''Notes:'''
 +
::* Default distance is set with [[partySkillDistance]].
 +
 
 +
 
 +
; 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 [&lt;[[References#Player Names|player names]]&gt; | @homunculus | @mercenary]
+
; target {<[[player name]]s> | @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.
 
: 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.
  
  
; isSelfSkill [&lt;boolean flag&gt;]
+
== Notes ==
: This option specifies whether the skill will be used on self or on the target player. 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.
+
* [[isSelfSkill]] is useful for [http://irowiki.org/wiki/Magnificat Magnificat] or [http://irowiki.org/wiki/Gloria Gloria] and other non-target skills.
 
 
:: '''Note:'''
 
::* You must set this option to the correct value. Useful for Magnificat or Gloria and other non-target skills.
 
 
 
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://ekanixygifa.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
----
 
=[http://ekanixygifa.co.cc CLICK HERE]=
 
----
 
</div>
 
  
 
== Examples ==
 
== 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 [http://irowiki.org/wiki/Blessing Blessing] level 10 on all your party members when your SP is higher than 64 and they aren't with ''Blessing'' status.
  
  partySkill Blessing {
+
  partySkill [[References#Skill_Names|AL_BLESSING]] {
 
   lvl 10
 
   lvl 10
   sp > 20
+
   sp > 64
   target_whenStatusInactive Blessing
+
   target_whenStatusInactive [[References#Status_Names|EFST_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.
+
* Use [http://irowiki.org/wiki/Increase_AGI Increase AGI] level 10 on everybody near your when your SP is higher than 45 and they aren't with ''Increase AGI'' status.
  
  partySkill Increase AGI {
+
  partySkill [[References#Skill_Names|AL_INCAGI]] {
 
   lvl 10
 
   lvl 10
   sp > 20
+
   sp > 45
 
  notPartyOnly 1
 
  notPartyOnly 1
   target_whenStatusInactive Increase AGI
+
   target_whenStatusInactive [[References#Status_Names|EFST_AGIUP]]
 
  }
 
  }
  

Revision as of 21:51, 23 January 2017

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
}