Difference between revisions of "attackComboSlot"

From OpenKore Wiki
Jump to navigation Jump to search
(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 …')
 
Line 1: Line 1:
; attackComboSlot [<[[References#Skill Names|skill names]]>]
+
Automatically use chain skills when attacking. This is usefull for using monk's combos, frost diver + jupiter thunder, etc, etc, etc.
: 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 ==
'''Syntax:'''
 
 
  attackComboSlot [<skill name>] {
 
  attackComboSlot [<skill name>] {
 
  afterSkill (<skill name>)
 
  afterSkill (<skill name>)
Line 17: Line 15:
 
  }
 
  }
  
 +
=== Attribute definitions ===
 +
----
  
'''Attribute definitions:'''
+
; attackComboSlot [<[[References#Skill Names|skill name]]>]
 +
: Skill that is going to be used.
  
:; afterSkill (<[[References#Skill Names|skill names]]>)
+
; afterSkill (<[[References#Skill Names|skill names]]>)
:: Kore will use this combo slot right after the skill specified in this option was used. This attribute is required.
+
: Kore will use this combo slot right after the skill specified in this option was used. This attribute is required.
  
:; dist [<number>]
+
; dist [<number>]
:: 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]].
  
:; isSelfSkill [<boolean flag>]
+
; 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.
+
: 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.
  
:; maxUses [<number>]
+
; maxUses [<number>]
:: 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'''.  
  
:; waitBeforeUse [<seconds>]
+
; 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.
+
: 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>]
+
; autoCombo [<boolean flag>]
:: If this option is set to '''1''', Kore will automatically calculate the waitBeforeUse time for you.  
+
: If this option is set to '''1''', Kore will automatically calculate the waitBeforeUse time for you.  
  
  
'''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.

Revision as of 00:35, 13 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
}