Difference between revisions of "AttackComboSlot"

From OpenKore Wiki
Jump to: navigation, search
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Automatically use chain skills when attacking. This is usefull for using monk's combos, frost diver + jupiter thunder, etc, etc, etc.
+
Specifies a part of attack skill sequence, when skills need to be used in a certain order.
 +
 
 +
This is usefull for using monk's combos, [http://irowiki.org/wiki/Frost_Diver Frost Diver] followed by [http://irowiki.org/wiki/Jupitel_Thunder Jupiter Thunder] etc.
  
 
== Syntax ==
 
== Syntax ==
  attackComboSlot [<skill name>] {
+
  attackComboSlot <[[References#Skill_Names|skill name]]> {
  afterSkill (<skill name>)
+
  afterSkill <[[References#Skill_Names|skill name]]>
  dist [<number>]
+
  [dist <[[number]]>]
isSelfSkill [<boolean flag>]
+
  [maxUses <[[number]]>]
  maxUses [<number>]
+
  [waitBeforeUse <seconds>]
  waitBeforeUse [<seconds>]
+
  [autoCombo <boolean>]
  autoCombo [<boolean flag>]
+
 
   
 
   
    # [[References#Skill Use Conditions|Skill Use Conditions]]
+
<[[:Category:Skill Use Condition|Skill Use Conditions]], including [[isSelfSkill]]>
    # [[References#Self Conditions|Self Conditions]]
+
<[[Self Condition]]s>
    # [[References#Target Monster Conditions|Monster Conditions]]
+
<[[:Category:Monster Condition|Monster Conditions]]>
 
  }
 
  }
  
 
=== Attribute definitions ===
 
=== Attribute definitions ===
----
+
; attackComboSlot <[[References#Skill_Names|skill name]]>
 
+
; attackComboSlot [<[[References#Skill Names|skill name]]>]
+
 
: Skill that is going to be used.
 
: Skill that is going to be used.
  
; afterSkill (<[[References#Skill Names|skill names]]>)
+
; afterSkill <[[References#Skill_Names|skill name]]>
 
: 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>]
 
: 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:'''''
+
; maxUses <number>
::* 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.
 
: 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>]
 
: If this option is set to '''1''', Kore will automatically calculate the waitBeforeUse time for you.
 
  
 +
; autoCombo <[[References#boolean_flag|boolean]]>
 +
: Automatically calculate '''waitBeforeUse'''.
  
== Example ==
+
== Examples ==
 
+
Use the [http://irowiki.org/wiki/Raging_Quadruple_Blow Raging Quadruple Blow] on Porings right after [http://irowiki.org/wiki/Raging_Trifecta_Blow Triple Attack]:
* Use the Chain Combo Skill in Porings after it used Triple Attack.
+
  attackComboSlot MO_CHAINCOMBO {
  attackComboSlot Chain Combo {
+
 
  lvl 5
 
  lvl 5
 
  dist 1.5
 
  dist 1.5
  sp > 30
+
  [[sp]] > 30
  monsters Poring
+
  [[monsters]] [[References#Monster_Names|Poring]]
  notMonsters Red Plant,Green Plant,Blue Plant
+
  [[notMonsters]] [[References#Monster_Names|Red Plant, Green Plant, Blue Plant]]
  afterSkill Triple Attack
+
  afterSkill MO_TRIPLEATTACK
 
  waitBeforeUse 0.3
 
  waitBeforeUse 0.3
  isSelfSkill 1
+
  [[isSelfSkill]] 1
 
  }
 
  }
 
  
 
[[Category:config.txt]]
 
[[Category:config.txt]]
 
[[Category:attack]]
 
[[Category:attack]]
 +
[[Category:config block]]

Latest revision as of 16:55, 6 July 2019

Specifies a part of attack skill sequence, when skills need to be used in a certain order.

This is usefull for using monk's combos, Frost Diver followed by Jupiter Thunder etc.

Syntax

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

	<Skill Use Conditions, including isSelfSkill>
	<Self Conditions>
	<Monster Conditions>
}

Attribute definitions

attackComboSlot <skill name>
Skill that is going to be used.
afterSkill <skill name>
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.


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>
Automatically calculate waitBeforeUse.

Examples

Use the Raging Quadruple Blow on Porings right after Triple Attack:

attackComboSlot MO_CHAINCOMBO {
	lvl 5
	dist 1.5
	sp > 30
	monsters Poring
	notMonsters Red Plant, Green Plant, Blue Plant
	afterSkill MO_TRIPLEATTACK
	waitBeforeUse 0.3
	isSelfSkill 1
}