whenEquipped

From OpenKore Wiki
Revision as of 22:35, 26 April 2021 by Conversion script (talk | contribs) (Conversion script moved page WhenEquipped to whenEquipped: Converting page titles to lowercase)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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]
}