attackComboSlot: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 17: Line 17:
=== Attribute definitions ===
=== Attribute definitions ===
----
----


; attackComboSlot [<[[References#Skill Names|skill name]]>]
; attackComboSlot [<[[References#Skill Names|skill name]]>]
Line 30: Line 29:
: 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.


:: '''''Notes:'''''  
:: '''Notes:'''  
::* This is not a list, so specify only one number.
::* This is not a list, so specify only one number.
::* If this option is not set, Kore will use the distance you specified in [[attackDistance]] and [[attackMaxDistance]].
::* If this option is not set, Kore will use the distance you specified in [[attackDistance]] and [[attackMaxDistance]].
Line 38: Line 37:
: 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''' (default value), Kore will use the skill on the attack target.
: 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''' (default value), Kore will use the skill on the attack target.


:: '''''Note:'''''  
:: '''Note:'''  
::* You must set this option to the correct value. For example, if you're trying to use Combo Finish you have to set this flag to '''1''' or Combo Finish will fail because it cannot be used on a monster.
::* You must set this option to the correct value. For example, if you're trying to use Combo Finish you have to set this flag to '''1''' or Combo Finish will fail because it cannot be used on a monster.


Line 45: Line 44:
: This option specifies the maximum number of successful usage allowed for this skill.
: This option specifies the maximum number of successful usage allowed for this skill.


:: '''''Note:'''''
:: '''Note:'''
::* This attribute only counts successful usage. If a skill fails, Kore will continue to use the skill until it finally succeeds even if this option is set to '''1'''.  
::* This attribute only counts successful usage. If a skill fails, Kore will continue to use the skill until it finally succeeds even if this option is set to '''1'''.  


Line 58: Line 57:


== Example ==
== Example ==
* Use the Chain Combo Skill in Porings after it used Triple Attack.
* Use the Chain Combo Skill in Porings after it used Triple Attack.
  attackComboSlot Chain Combo {
  attackComboSlot Chain Combo {

Revision as of 01:37, 15 December 2009

Automatically use chain skills when attacking. This is usefull for using monk's combos, frost diver + jupiter thunder, etc, etc, etc.

Syntax

attackComboSlot [<skill name>] {
	afterSkill (<skill name>)
	dist [<number>]
	isSelfSkill [<boolean flag>]
	maxUses [<number>]
	waitBeforeUse [<seconds>]
	autoCombo [<boolean flag>]

   	# Skill Use Conditions
   	# Self Conditions
   	# Monster Conditions
}

Attribute definitions


attackComboSlot [<skill name>]
Skill that is going to be used.


afterSkill (<skill names>)
Kore will use this combo slot right after the skill specified in this option was used. This attribute is required.


dist [<number>]
This option specifies the distance (in number of blocks) from the monster that Kore will move to before using this skill.
Notes:
  • This is not a list, so specify only one number.
  • If this option is not set, Kore will use the distance you specified in attackDistance and attackMaxDistance.


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 (default value), Kore will use the skill on the attack target.
Note:
  • You must set this option to the correct value. For example, if you're trying to use Combo Finish you have to set this flag to 1 or Combo Finish will fail because it cannot be used on a monster.


maxUses [<number>]
This option specifies the maximum number of successful usage allowed for this skill.
Note:
  • This attribute only counts successful usage. If a skill fails, Kore will continue to use the skill until it finally succeeds even if this option is set to 1.


waitBeforeUse [<seconds>]
Kore will use the skill after the specified number of seconds has elapsed since the skill specified in afterSkill was used. This is crucial for some combos like the Monk Combo skills.


autoCombo [<boolean flag>]
If this option is set to 1, Kore will automatically calculate the waitBeforeUse time for you.


Example

  • Use the Chain Combo Skill in Porings after it used Triple Attack.
attackComboSlot Chain Combo {
	lvl 5
	dist 1.5
	sp > 30
	monsters Poring
	notMonsters Red Plant,Green Plant,Blue Plant
	afterSkill Triple Attack
	waitBeforeUse 0.3
	isSelfSkill 1
}