Weapon idea

So, I got some inspiration from playing Tales of Arise and wanted to make some weapons like the devil arms where each kill boosts the stats of the weapon. How would I go about doing this? Is there a way to do it without a plugin? Any and all help is appreciated.
Is there a way to do it without a plugin?

Without plugins, you're going to want to get good and deep into how the damage formula works. If all you want is for the weapon to deal more damage, you can use a variable in the damage formula.

Checking to see if the foe actually dies from the attack is harder; One option is to give the enemy an invisible state that does nothing with the Damage Formula (pre damage), then have the Attack skill call up a Common Event that looks for that state. It removes the state if it finds it or increases the variable if it doesn't (because the enemy who had it died). You'd also have to insert the variable into the damage formula with an if statement to check if the user is equipped with the correct weapon.

For anything more complicated (such as increasing the actual stats the weapon gives instead of just damage), you'll want one or more plugins. Yanfly has Damage Core and various equipment plugins that give you better control over these things and I bet there's other plugins out there that do it (and might do this better).

Without plugins, you're going to want to get good and deep into how the damage formula works. If all you want is for the weapon to deal more damage, you can use a variable in the damage formula.

Checking to see if the foe actually dies from the attack is harder; One option is to give the enemy an invisible state that does nothing with the Damage Formula (pre damage), then have the Attack skill call up a Common Event that looks for that state. It removes the state if it finds it or increases the variable if it doesn't (because the enemy who had it died). You'd also have to insert the variable into the damage formula with an if statement to check if the user is equipped with the correct weapon.

For anything more complicated (such as increasing the actual stats the weapon gives instead of just damage), you'll want one or more plugins. Yanfly has Damage Core and various equipment plugins that give you better control over these things and I bet there's other plugins out there that do it (and might do this better).
I'm not wanting anything with the damage formula, I am more looking for a way to put a specific stat up for each kill the player makes. For example, if a swords attack stat is 23 and the player gets 17 kills, the attack stat goes up to 40. I hope this makes sense.
For example, if a swords attack stat is 23 and the player gets 17 kills, the attack stat goes up to 40.
That's why I brought up damage formulas. Increasing the attack stat and increasing damage are pretty similar things, so if that was your goal then you can emulate that with the Formula.


Those are links to Yanfly's plugins, with the first one being the plugin for using code to determine the parameters of your equipment.
That's why I brought up damage formulas. Increasing the attack stat and increasing damage are pretty similar things, so if that was your goal then you can emulate that with the Formula.


Those are links to Yanfly's plugins, with the first one being the plugin for using code to determine the parameters of your equipment.
Ok, so Would the code in the weapon look like this?:
1738352678649.png

If so, what would I put in the code to add one to the attack state, or would it do it automatically with just that part of code?
The noticing if the target dies part is the one part that I'm not sure how to emulate. You might have to mess around with the plugins to see what works.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-idea.174998/