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