attackSkillSlot: Difference between revisions
Jump to navigation
Jump to search
Technology (talk | contribs) mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
=== Attribute definitions === | === Attribute definitions === | ||
---- | ---- | ||
; attackSkillSlot [<[[References#Skill Names|skill name]]>] | ; attackSkillSlot [<[[References#Skill Names|skill name]]>] | ||
: This option specifies the skill to automatically use when attacking. | : This option specifies the skill to automatically use when attacking. | ||
Line 26: | Line 24: | ||
: 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:''' | ||
::* 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 34: | Line 32: | ||
: 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.''' | ||
::* You must set this option to the correct value. For example, if you're trying to use Grand Cross you have to set this flag to 1 or you might see a target circle around your target monster as if you casted a skill on it, which is quite suspicious. | ::* You must set this option to the correct value. For example, if you're trying to use Grand Cross you have to set this flag to 1 or you might see a target circle around your target monster as if you casted a skill on it, which is quite suspicious. | ||
Line 45: | Line 43: | ||
: 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.''' | ||
::* 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 54: | Line 52: | ||
== Example == | == Example == | ||
* Use Holy Cross on monsters Khalitzburg, Raydric, Whisper: | * Use Holy Cross on monsters Khalitzburg, Raydric, Whisper: | ||
attackSkillSlot Holy Cross { | attackSkillSlot Holy Cross { |
Revision as of 01:41, 15 December 2009
Automatically uses skills on monsters when the conditions specified are met.
Syntax
attackSkillSlot [<skill name>] { dist [<number>] isSelfSkill [<boolean flag>] maxAttempts [<number>] maxUses [<number>] previousDamage [<range>] # Skill Use Conditions # Self Conditions # Monster Conditions }
Attribute definitions
- attackSkillSlot [<skill name>]
- This option specifies the skill to automatically use when attacking.
- 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.
- Notes:
- 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 Grand Cross you have to set this flag to 1 or you might see a target circle around your target monster as if you casted a skill on it, which is quite suspicious.
- Note.
- maxAttempts [<number>]
- This option specifies the maximum number of attempts allowed to use this skill. Use this to limit usage of skills that could fail (e.g. Steal).
- 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.
- Note.
- previousDamage [<range>]
- If this option is set, the skill will only be used if the damage you have dealt to the monster is within the specified range
Example
- Use Holy Cross on monsters Khalitzburg, Raydric, Whisper:
attackSkillSlot Holy Cross { lvl 10 dist 1.5 sp > 30 monsters Khalitzburg,Raydric,Whisper,Whisper Boss }