How do you call an actions ID in it's damage formula?
I want an action to reduce remove an item from the inventory with an ID equal to that of the ID of the skill being used
If the item's ID is a specific one, you may wish to call its ID as opposed to the action. Could you tell us a little more about the skill?
One question: do you use auto battle in your game at all? Because if you do, this will have some unwanted side effects you should be aware of.
Can't you fix this with calling a common event in the "effect" box, and your event would do
Change Armor: "your armor name" decrease 1 ?
Just use "this.item().id", that'll return the ID of the currently-executing skill.
I must admit I always find it hilarious when I read topics like this where a bunch of people write absolutely genius and really convoluted methods of doing something with event commands, common events and the like and then I burst in with a one-line solution. XD