whenEquipped: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
m (Conversion script moved page WhenEquipped to whenEquipped: Converting page titles to lowercase)
 
(One intermediate revision by one other user not shown)
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.



Latest revision as of 22:35, 26 April 2021

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