Difference between revisions of "partySkill"

From OpenKore Wiki
Jump to navigation Jump to search
(add "dist")
m (isSelfSkill has its own page)
Line 5: Line 5:
 
  [notPartyOnly <boolean flag>]
 
  [notPartyOnly <boolean flag>]
 
  [target {<player names> | @homunculus | @mercenary}]
 
  [target {<player names> | @homunculus | @mercenary}]
[isSelfSkill <boolean flag>]
 
 
   
 
   
  # 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 34: Line 33:
  
  
; isSelfSkill <boolean flag>
+
== 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 Magnificat or 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.
 
  
 
== Examples ==
 
== Examples ==

Revision as of 01:43, 1 June 2011

Automatically use skills on players when specified conditions are met.

Syntax

partySkill [<skill name>] {
	[notPartyOnly <boolean flag>]
	[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

  • isSelfSkill is useful for Magnificat or Gloria and other non-target 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
}