attackComboSlot

From OpenKore Wiki
Revision as of 14:27, 12 December 2009 by Mushrom (talk | contribs) (Created page with '; attackComboSlot [<skill names>] : Kore can automatically chain skills when attacking. This block can be used to specify a skill to automatically use …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
attackComboSlot [<skill names>]
Kore can automatically chain skills when attacking. This block can be used to specify a skill to automatically use after another skill was previously used (e.g. Monk combo attacks, Wizard Frost Diver + Jupital Thunder combo, 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:

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
}