test:
type: world
events:
on player holds item:
- - if <player.item_in_hand.scriptname.is[==].to[shadow_strike]||false> {
- - invisible <player> state:true
+ - if <player.item_in_hand.scriptname.is[==].to[shadow_strike]||false> invisible <player> state:true
+ else invisible <player> state:false
- }
- else {
- - invisible <player> state:false
- }