MZ Skills with attribute costs?

For example, if I wanted to make a player skill that drained an actor's luck every time they used it, would I write it like this:

<param(7) cost: 5>

Or would I write it like this:

<JS type Cost>
param(7) = 5
</JS type Cost>

I should note that I am in fact using Visustella's skills and states core and their sample game as a base.
Don't you need to make a new skill cost type there in the plugin settings? Then in the paying cost or whatever use the script to change your base parameter.
Don't you need to make a new skill cost type there in the plugin settings? Then in the paying cost or whatever use the script to change your base parameter.
Ah, you're right. I didn't even consider to really look into the extent that the skills and states core changed the parameters. I thought it's independent MP cost types were unused, at first, for example. Thanks!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/skills-with-attribute-costs.182648/