I want specific equips to add damage to specific skills. Ideally, as a number which multiple equips can add to, that's added to the damage of a skill before Element Rate is calculated into the damage. Can this be done?
MV Equips that enhance specific skills?
JS Plugin RequestsI think a plugin allowing multi-element skills could be what you're looking for. Create a new element for the skills that need a buff and add an elemental buff to your equipment. The Yanfly Element Core, for example, can do this.
The issue with doing this is that I'd need to have a 1:1 correlation of skill to element. The Unarmed skill for example does blunt damage, but shouldn't scale off of the blunt damage bonuses from equipment.
Put it in the skill damage formula, something like:
a.atk - b.def + a.hasWeapon($dataWeapons[id]) * 10 + a.hasArmor($dataArmors[Y]) * 10If you have a lot of equipment items that boost a lot of skills, you could also try to use note tags relatively easily:
And put
into the items you want to provide a bonus.
(Replace "unarmed bonus" with the tag you want to use).
a.atk - b.def + a.traitObjects().reduce((r, o) => r + Number(o.meta["unarmed bonus"] || 0), 0)And put
<unarmed bonus: 123>into the items you want to provide a bonus.
(Replace "unarmed bonus" with the tag you want to use).
Can it tell the quantity of equips matching with the tag?
itd add up all the values of all the unarmed bonus notetags on everything pertaining to your battler. so if you made all your values 1 and only had the notetag on equips, it would be the number of equips that have the notetag. but since it adds the values to the damage, you can just have the values be what the increases should be. so like, if each piece increased damage by 50, you just put the 50 into the tags instead of getting the count and multiply by 50
Can it count multiple of the same tag per item?
no. it'd only use the value of the last tag on the item, but why would you need to put multiple of the tag in something instead of using a different value?
Oh I didn't realize you had a value put in. That makes sense.
Original thread: https://forums.rpgmakerweb.com/threads/equips-that-enhance-specific-skills.178277/