equipAuto: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
; equipAuto [<[[References#Equipment Names|equipment name]]>]
Automatically equip items when certain conditions are met.
: Kore can automatically equip items when certain conditions are met. This option allows you to specify an equipment to automatically equip when all the conditions are met.


 
== Syntax ==
'''Syntax:'''
  equipAuto [<equipment name>] {
  equipAuto [<equipment name>] {
  weight [<percent>]
  weight [<percent>]
Line 13: Line 11:
  # [[References#Target Monster Conditions|Monster Conditions]]
  # [[References#Target Monster Conditions|Monster Conditions]]
  }
  }
=== Attribute definitions ===
----
; equipAuto [<[[References#Equipment Names|equipment name]]>]
: This option allows you to specify an equipment to automatically equip when all the conditions are met.




''' Attribute definitions: '''
; weight [<percent>]
: If this option is set, auto-equip only when weight is at or above the specified percent.


:; weight [<percent>]
:: If this option is set, auto-equip only when weight is at or above the specified percent.


:; whileSitting [<boolean flag>]
; whileSitting [<boolean flag>]
:: If this option is set, auto-equip while Kore is sitting.
: If this option is set, auto-equip while Kore is sitting.


:; (<[[References#Equipment Slots|equipment slot]]>) [<[[References#Equipment Names|equipment name]]>]
:: If this option is set for a specific equipment slot, Kore will automatically equip the specified equipment on the corresponding equipment slot when all conditions for this block are met.


; (<[[References#Equipment Slots|equipment slot]]>) [<[[References#Equipment Names|equipment name]]>]
: If this option is set for a specific equipment slot, Kore will automatically equip the specified equipment on the corresponding equipment slot when all conditions for this block are met.


''' Example '''


== Example ==
* Equip a a +4 Shoes of Health and a Robust Clip when you are sitting to regenerate HP.
* Equip a a +4 Shoes of Health and a Robust Clip when you are sitting to regenerate HP.
  equipAuto - {
  equipAuto - {
  shoes +4 Shoes [Zombie] [1]  
  shoes +4 Shoes [Zombie] [1]  

Revision as of 01:44, 15 December 2009

Automatically equip items when certain conditions are met.

Syntax

equipAuto [<equipment name>] {
	weight [<percent>]
	whileSitting [<boolean flag>]
	(<equipment slot>) [<equipment name>]
	target [<monster names>]

	# Self Conditions
	# Monster Conditions
}

Attribute definitions


equipAuto [<equipment name>]
This option allows you to specify an equipment to automatically equip when all the conditions are met.


weight [<percent>]
If this option is set, auto-equip only when weight is at or above the specified percent.


whileSitting [<boolean flag>]
If this option is set, auto-equip while Kore is sitting.


(<equipment slot>) [<equipment name>]
If this option is set for a specific equipment slot, Kore will automatically equip the specified equipment on the corresponding equipment slot when all conditions for this block are met.


Example

  • Equip a a +4 Shoes of Health and a Robust Clip when you are sitting to regenerate HP.
equipAuto - {
	shoes +4 Shoes [Zombie] [1] 
	leftAccessory Clip [Muka] [1]
	onAction sitAuto
	whileSitting 1
}