Difference between revisions of "monstersCount"

From OpenKore Wiki
Jump to navigation Jump to search
(typo)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''[[Self Condition]]s:''
+
''[[:Category:Self Condition|Self Condition]]s:''
 
; monstersCount <[[References#Range_Operators|range]]>
 
; monstersCount <[[References#Range_Operators|range]]>
  
Line 11: Line 11:
  
 
: Storm Gust will be cast when 3 or more monsters are visible to Kore.
 
: Storm Gust will be cast when 3 or more monsters are visible to Kore.
 +
 +
 +
; monstersCountDist <[[References#Range_Operators|range]]>
 +
: this block parameter limits the scope of the '''monstersCount''' parameter. This parameter allows you to ignore monsters that are far from the OpenKore.
 +
 +
== Example ==
 +
 +
attackSkillSlot Storm Gust {
 +
monstersCount > 3
 +
monstersCountDist < 5
 +
}
 +
 +
: The "Storm Gust" skill will work when there are more than 3 monsters within a radius of 5 cells from the OpenKore.
  
 
[[Category:Self Condition]]
 
[[Category:Self Condition]]

Latest revision as of 22:01, 15 April 2023

Self Conditions:

monstersCount <range>
Use this block to cast a skill when the amount of monsters which are visible to Kore matches the specified range.

Example

attackSkillSlot Storm Gust {
	monstersCount > 3
}
Storm Gust will be cast when 3 or more monsters are visible to Kore.


monstersCountDist <range>
this block parameter limits the scope of the monstersCount parameter. This parameter allows you to ignore monsters that are far from the OpenKore.

Example

attackSkillSlot Storm Gust {
	monstersCount > 3
	monstersCountDist < 5
}
The "Storm Gust" skill will work when there are more than 3 monsters within a radius of 5 cells from the OpenKore.