attackSkillSlot: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (isSelfSkill has its own page) |
||
Line 4: | Line 4: | ||
attackSkillSlot [<skill name>] { | attackSkillSlot [<skill name>] { | ||
dist [<number>] | dist [<number>] | ||
maxAttempts [<number>] | maxAttempts [<number>] | ||
maxUses [<number>] | maxUses [<number>] | ||
previousDamage [<range>] | previousDamage [<range>] | ||
# [[References#Skill Use Conditions|Skill Use Conditions]] | # [[References#Skill Use Conditions|Skill Use Conditions]], including [[isSelfSkill]] | ||
# [[References#Self Conditions|Self Conditions]] | # [[References#Self Conditions|Self Conditions]] | ||
# [[References#Monster Conditions|Monster Conditions]] | # [[References#Monster Conditions|Monster Conditions]] | ||
Line 27: | Line 26: | ||
::* 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. | ||
Revision as of 00:41, 1 June 2011
Uses specified skill when attacking and all specified conditions are met.
Syntax
attackSkillSlot [<skill name>] { dist [<number>] maxAttempts [<number>] maxUses [<number>] previousDamage [<range>] # Skill Use Conditions, including isSelfSkill # 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:
- 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 }