Difference between revisions of "equipAuto"

From OpenKore Wiki
Jump to navigation Jump to search
m (The equipment name specified in equipAuto is not used anymore.)
m (Syntax)
Line 3: Line 3:
 
== Syntax ==
 
== Syntax ==
 
  equipAuto {
 
  equipAuto {
  weight [<percent>]
+
  [weight <percent>]
  whileSitting [<boolean flag>]
+
  [whileSitting <boolean flag>]
  (<equipment slot>) [<equipment name>]
+
  <equipment slot> [<equipment name>]
  target [<monster names>]
+
  [ <equipment slot> [<equipment name>] ]
 +
[ ... ]
 +
[ target <monster names>]
 
   
 
   
  # [[References#Self Conditions|Self Conditions]]
+
  # [[:Category:Self Condition|Self Conditions]]
  # [[References#Target Monster Conditions|Monster Conditions]]
+
  # [[:Category:Monster Condition|Monster Conditions]]
 
  }
 
  }
  
Line 15: Line 17:
 
----
 
----
  
; weight [<percent>]
+
; weight <percent>
 
: If this option is set, auto-equip only when weight is at or above the specified 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]]>]
+
; <[[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.
 
: 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.
  

Revision as of 08:22, 16 August 2012

Automatically equip items when certain conditions are met.

Syntax

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

	# Self Conditions
	# Monster Conditions
}

Attribute definitions


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
}