Damage formula dilemma.

I have a damage formula that I'd like to use as a item, it works fine as a skill, but for some reason not as Item.

When put as damage formula for the Item I cant use the Item.

I can select it just fine, but when I am in the menu to choose who to use it on if and select someone there is just that buzzer sound and nothing else.

The Damage formula in question is this one:

y=0;(b._actorId===2?b.addState(10):y=200);y
The item I want to use it with has this settings: 

Name: Test

Normal Item

price : 50 g

useable

1 ally

always useable

damagetyp: HP heal

and then the formular above.

Does anyone know why it ist working?
its worked fine for me

make sure damage type hp recover 
Works now for me too, Its hard to use a healing item if no one is hurt ^^'' 

Original thread: https://forums.rpgmakerweb.com/threads/damage-formula-dilemma.48705/