monstersCount: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
''[[Self Condition]]s:''
''[[:Category:Self Condition|Self Condition]]s:''
; monstersCount <[[range]]>
; monstersCount <[[References#Range_Operators|range]]>


: Use this block to cast a skill when the amount of monsters which are visible to Kore matches the specified range.
: Use this block to cast a skill when the amount of monsters which are visible to Kore matches the specified range.
Line 6: Line 6:
== Example ==
== Example ==


  atttackSkillSlot Storm Gust {
  attackSkillSlot Storm Gust {
  monstersCount > 3
  monstersCount > 3
  }
  }


: 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.