Difference between revisions of "monsterSkill"

From OpenKore Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
; monsterSkill [<skill>] {
+
; monsterSkill [<[[References#Skill Names|skill name]]>]
;;: target [<monster names list>]
+
: Kore can use skills on monsters even if it is not currently attacking them. This option specifies the skill to automatically use on monsters as long as you are not currently using any other skill.
;;: maxUses [<integer>]
 
:: {{SkillUseAttributes}}
 
:: {{SelfConditions}}
 
:: {{TargetMonsterConditions}}
 
; }
 
  
: Enables auto use specified skill on specified monsters even if you're not currently attacking them. Useful for fighting multiple enemies at once.
+
: This is useful for fighting multiple opponents at once. For example, an Acolyte can offensive-Bless Khalitzburg even if it's not your current target, or a Knight can Provoke all Sohees and then Brandish Spear them.
 +
 
 +
'''Syntax:'''
 +
monsterSkill [<skill name>] {
 +
target [<monster names>]
 +
 +
# [[References#Skill Use Conditions|Skill Use Conditions]]
 +
# [[References#Self Conditions|Self Conditions]]
 +
# [[References#Target Monster Conditions|Monster Conditions]]
 +
}
 +
 
 +
 
 +
''' Attribute definitions: '''
 +
 
 +
:; 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'''.
 +
 
 +
:; target (<[[References#Monster Names|monster name]]>)
 +
:: This option specifies on which monsters will this skill be used.
 +
 
 +
:::'''''Note:'''''
 +
:::* This option is required. If you don't set this option, the skill will never be used.
 +
 
 +
 
 +
''' Example: '''
 +
 
 +
* Use Provoke on Sohee until there are more than five monsters attacking you, then use Brandish Spear to kill them.
 +
monsterSkill Provoke {
 +
lvl 1
 +
sp > 15
 +
aggressives < 5
 +
maxUses 1
 +
target Sohee
 +
  target_dist 7
 +
}
 +
 +
attackSkillSlot Brandish Spear {
 +
lvl 10
 +
dist 1.5
 +
sp > 20
 +
aggressives >= 5
 +
monsters Sohee
 +
}
  
 
[[Category:config.txt]]
 
[[Category:config.txt]]
 
[[Category:skills]]
 
[[Category:skills]]

Revision as of 15:26, 12 December 2009

monsterSkill [<skill name>]
Kore can use skills on monsters even if it is not currently attacking them. This option specifies the skill to automatically use on monsters as long as you are not currently using any other skill.
This is useful for fighting multiple opponents at once. For example, an Acolyte can offensive-Bless Khalitzburg even if it's not your current target, or a Knight can Provoke all Sohees and then Brandish Spear them.

Syntax:

monsterSkill [<skill name>] {
	target [<monster names>]

	# Skill Use Conditions
	# Self Conditions
	# Monster Conditions
}


Attribute definitions:

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.
target (<monster name>)
This option specifies on which monsters will this skill be used.
Note:
  • This option is required. If you don't set this option, the skill will never be used.


Example:

  • Use Provoke on Sohee until there are more than five monsters attacking you, then use Brandish Spear to kill them.
monsterSkill Provoke {
	lvl 1
	sp > 15
	aggressives < 5
	maxUses 1
	target Sohee
 	target_dist 7
}

attackSkillSlot Brandish Spear {
	lvl 10
	dist 1.5
	sp > 20
	aggressives >= 5
	monsters Sohee
}