Does anyone know of a script or some way of setting a weapon so that it can't be used every turn in battle?
I know that Yanfly has a script but it's for skills, and I'm looking specifically for weapons.
I'm trying to set up a set of pistols as weapons, and I want to make it so that one of the drawbacks to using it is that there is a pretty hefty cooldown, kind of like it has to be reloaded or re-cocked.
Any ideas?
None that I know of.. Weapons are equipped and normally not changed during battles so...
No. The "reloading" state will be applied to the enemy.
Edit: I noticed that your weapon adds a skill to the actor. If you wanted, you could add your reloading state to the actor upon using the skill with a damage formula.
Formula: a.add_state(15); a.atk * 4 - b.def * 2
Darn it, I was afraid of that.
I'm trying to make it so that the weapon hits all enemies.
This is getting more complicated than I expected.
Sorry, I'm not entirely sure what you mean by that. Where would I input the formula?
Edit: Wait, I might have figured it out!
I used Yanfly's Weapon Attack Replace script and set the weapon to automatically use the skill that attacks all enemies.
Then, I set that skill to have a cooldown rate using Yanfly's Skill Restriction script, and I think it might have worked!
I'll have to do some more testing tomorrow, but it currently looks like Yanfly's scripts fixed all of my problems.
Thanks!
Thanks, Rinobi, I'll do that.
You've probably just saved me from hours of future hassles.