Weapons that deal damage to user

Hello.
I wanted to use weapons that deal damage when someone uses it similar to the Royal Arms from FFXV but I think I need plugins for it to work. Sadly I can’t code it so I was looking for help ^^’
Did the script I linked you last time not work?
Good lord, we've graduated from double posts to double threads!
1706805016023.png
VX Ace doesn't use plugins, it uses scripts. And Tridium linked you to the script that he thought would do this for you in your first thread - can you describe why it didn't work?
How about if you put a common event on the weapon?
@Jayjayjangles, how?
How about if you put a common event on the weapon?
You can't do this natively as weapons don't have the "effects" box like items and skills do. You'd need a script to allow that.
VX Ace doesn't use plugins, it uses scripts. And Tridium linked you to the script that he thought would do this for you in your first thread - can you describe why it didn't work?
It says that there is an error
Good thing I know exactly which error it is! I'm telepathic!
Could you please share screenshots?
Screenshot (5).png
Which scripts do you have installed?
The error is for "Extra Stuff'.
You've definitely done something wrong here, as that method is provided by the default scripts. If it's no longer there, you've installed something incorrectly.

You definitely pasted the linked script at the bottom of the script editor, under "Materials" and above "Main Process", right?
Ah my bad. I put it on the wrong place. Now it works perfectly fine. Thank you
You can't do this natively as weapons don't have the "effects" box like items and skills do. You'd need a script to allow that.
I see,

can you make a a custom state in the weapon having a common event decrease?
Oh i see it has been shorted, well than...
Ah my bad. I put it on the wrong place. Now it works perfectly fine. Thank you
...Well done on getting it working!
can you make a a custom state in the weapon having a common event decrease?
There's no such thing as "a custom state in the weapon."

RPG Makers MV and MZ have plugins that allow you to create passive states attached to weapons, but you need those specific plugins installed, and this question is for VX Ace.
Oh I see...
... Sorry for the inconvenience...
Ok I tested it. But if I understood it right then this script only works for skills and not for weapons because nothing happened the way I intended
What you could do is add an <hp cost: x> tag to the Attack skill, and put <hp cost rate: 0%> on your actors. Then on the weapon you want to add this effect to, put <hp cost rate: 100%>
Alright I’ll try it later and see if it works. Thank you

What you could do is add an <hp cost: x> tag to the Attack skill, and put <hp cost rate: 0%> on your actors. Then on the weapon you want to add this effect to, put <hp cost rate: 100%>
Alright I treid it but it didnt work
Don't provide me with any further details like what's going wrong or how specifically you tried to implement it, that might help me figure out what needs changed. 😉

Original thread: https://forums.rpgmakerweb.com/threads/weapons-that-deal-damage-to-user.165360/