Difference between revisions of "whenEquipped"

From OpenKore Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
; whenEquipped <[[item name]]>
+
; whenEquipped <[[References#Item_Names|item name]]>
 
: Only use the block if the specified equipment is currently equipped.
 
: Only use the block if the specified equipment is currently equipped.
  

Revision as of 16:20, 9 February 2013

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]
}