Difference between revisions of "whenEquipped"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '; whenEquipped [<equipment name>] : If this option is set, the block will only be used if the specified equipment is currently equipped. == Exampl…')
 
m
Line 1: Line 1:
; whenEquipped [<[[References#Equipment_Names|equipment name]]>]
+
; whenEquipped <[[item name]]>
: If this option is set, the block will only be used if the specified equipment is currently equipped.
+
: Only use the block if the specified equipment is currently equipped.
  
== Example ==
+
== Examples ==
 +
Use Heal level 1 when your HP is bellow 10%, your SP is higher than 20 and when Shield [1] with Vitata card is equipped:
 
  useSelf_skill Heal {
 
  useSelf_skill Heal {
 
  lvl 1
 
  lvl 1
Line 9: Line 10:
 
  whenEquipped Shield [Vitata] [1]
 
  whenEquipped Shield [Vitata] [1]
 
  }
 
  }
 
* Use Heal level 1 when your HP is bellow 10%, your SP is higher than 20 and when Shield [1] with Vitata card is equipped.
 
  
 
[[Category:Self Condition]]
 
[[Category:Self Condition]]

Revision as of 11:13, 18 August 2012

whenEquipped <item name>
Only use the block if the specified equipment is currently equipped.

Examples

Use Heal level 1 when your HP is bellow 10%, your SP is higher than 20 and when Shield [1] with Vitata card is equipped:

useSelf_skill Heal {
	lvl 1
	hp < 10%
	sp > 20
	whenEquipped Shield [Vitata] [1]
}