monsters: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
m (Conversion script moved page Monsters to monsters: Converting page titles to lowercase)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
; monsters [<[[References#Monster Names|monster names]]>]
''[[:Category:Self Condition|Self Conditions]]:''
: If this option is set in an [[attackSkillSlot]] or [[attackComboSlot]] block, the block will only be used if you are attacking any one of the specified comma-separated list of monsters and if this option is set on other blocks, the block will be used if any one of the specified comma-separated list of monsters is attacking you.


'''Examples:'''
; monsters <[[References#Monster_Names|monster names]]>
* Use Double Strafe on Geographers.
: If this option is set in an [[attackSkillSlot]] or [[attackComboSlot]] block, the block will only be used if you are attacking any one of the specified comma-separated list of monsters.
: If this option is set on other blocks, the block will be used if any one of the specified comma-separated list of monsters is attacking you.
 
; notMonsters <[[References#Monster_Names|monster names]]>
: If this option is set in an attackSkillSlot or attackComboSlot block, the block will not be used if you are attacking any one of the specified comma-separated list of monsters.
: If this option is set on other blocks, the block will not be used if any one of the specified comma-separated list of monsters is attacking you.
 
; 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.
 
''Target [[:Category:Player Condition|Player]] Conditions:''
 
; target_monsters <[[References#Monster_Names|monster names]]>
: If this option is set, the skill will only be used if the any one of the specified comma-separated list of monsters has hit or missed the target player.
 
== Notes ==
 
[[mon_control.txt|mon_control]] must be set to attack or not attack defined monster(s).
 
== Examples ==
 
* Use Double Strafe on Geographers:
  attackSkillSlot Double Strafe {
  attackSkillSlot Double Strafe {
  monsters Geographer
  monsters Geographer
  }
  }


* Use White Potion while Evil Druid attacks you.
* Use White Potion while Evil Druid attacks you:
  useSelf_item White Potion {
  useSelf_item White Potion {
   monsters Evil Druid
   monsters Evil Druid
  }
  }


* Use Fire Bolt when sp is bigger than 15 and we are not attacking Imp and Kasa: ''([[mon_control.txt|mon_control]] must be set to not attack them.)''
attackSkillSlot Fire Bolt {
notMonsters Imp, Kasa
sp > 15
}


'''''Note.''''' [[mon_control.txt|mon_control]] must be set to attack defined monster.
* Use White Potion if no Imp and Kasa is attacking you and your hp is bellow 50%:
useSelf_item White Potion {
notMonsters Imp, Kasa
  hp < 50%
}


[[Category:Self Condition]]
[[Category:Self Condition]]

Latest revision as of 22:34, 26 April 2021

Self Conditions:

monsters <monster names>
If this option is set in an attackSkillSlot or attackComboSlot block, the block will only be used if you are attacking any one of the specified comma-separated list of monsters.
If this option is set on other blocks, the block will be used if any one of the specified comma-separated list of monsters is attacking you.
notMonsters <monster names>
If this option is set in an attackSkillSlot or attackComboSlot block, the block will not be used if you are attacking any one of the specified comma-separated list of monsters.
If this option is set on other blocks, the block will not be used if any one of the specified comma-separated list of monsters is attacking you.
monstersCount <range>
Use this block to cast a skill when the amount of monsters which are visible to Kore matches the specified range.

Target Player Conditions:

target_monsters <monster names>
If this option is set, the skill will only be used if the any one of the specified comma-separated list of monsters has hit or missed the target player.

Notes

mon_control must be set to attack or not attack defined monster(s).

Examples

  • Use Double Strafe on Geographers:
attackSkillSlot Double Strafe {
	monsters Geographer
}
  • Use White Potion while Evil Druid attacks you:
useSelf_item White Potion {
 	monsters Evil Druid
}
  • Use Fire Bolt when sp is bigger than 15 and we are not attacking Imp and Kasa: (mon_control must be set to not attack them.)
attackSkillSlot Fire Bolt {
	notMonsters Imp, Kasa
	sp > 15
}
  • Use White Potion if no Imp and Kasa is attacking you and your hp is bellow 50%:
useSelf_item White Potion {
	notMonsters Imp, Kasa
 	hp < 50%
}