I want to have guns use ammunition, and I'm using Limited Skill Uses to replicate it. For example, a handgun has a skill called "Fire Pistol" which has 6 uses, and the uses can be replenished using an item called "Magazine". I'd like to have alternate firing method, like Double Tap, which uses 2 uses of Fire Pistol, or if I have a rifle, having semi- or fully automatic firing. The problem I'm running into is that I can only change the uses of whatever I'm targeting, so if I have the notetags reduce the uses of a skill, it's reducing the enemy's use of a skill it doesn't have.
Is there a way to do this?
Instead of using a skill limit plugin, it might be easier with a custom skill cost plugin.
then use script code to reduce whatever you use as ammo there.
You can do that by having the magazine be a usable item that creates the bullet-items when used. and perhaps make it usable only in battle.
alternatively you can combine the custom cost with either limited use or item limits and simply make the code for the custom cost reduce whatever other number you want - you could even use a variable for the ammo count or whatever.
I'd suggest a more manageable approach (which is what's commonly done with gun skills) is instead of limited skill uses, use Yanfly's Skill Cost Items.
That way you have actual amounts of cartridges in your inventory and you can make each skill take as many of them as you like.
And you can have different caliber sizes if you like, that are still shared by multiple weapon types.
Alright, thanks everybody for the feedback. I'll probably do what you guys said and just stick with Skill Cost Items.