Need help with elemental buffs

One of my weapon types is prayer beads, and I want to make it so each different set of prayer beads you can find throughout the game increases your holy/darkness damage by a certain amount. Can someone give me a clear explanation of how to do this? I am definitely a noob with coding.
Yanfly's Element Core will probably give you the most flexibility, provided you own the script. I believe VE Element Set could also be what you might be looking for.
One of my weapon types is prayer beads, and I want to make it so each different set of prayer beads you can find throughout the game increases your holy/darkness damage by a certain amount.
I'm not certain of what you mean by this. Do you mean:
1 - Each prayer bead weapon does a different amount of elemental damage when you attack with it? You would just use the Attack Element trait on the weapon in the database.

2 - Each prayer bead weapon affects the elemental damage done by your skills while you have it equipped? You'd use Yanfly's Auto Passive States, and have the weapon give a passive state with notetags from Yanfly's Buffs and States that increases elemental damage done by all skills. You can easily find examples if you Google "RPG Maker MV increase elemental damage"

3 - Something else?
I'm not certain of what you mean by this. Do you mean:
1 - Each prayer bead weapon does a different amount of elemental damage when you attack with it? You would just use the Attack Element trait on the weapon in the database.

2 - Each prayer bead weapon affects the elemental damage done by your skills while you have it equipped? You'd use Yanfly's Auto Passive States, and have the weapon give a passive state with notetags from Yanfly's Buffs and States that increases elemental damage done by all skills. You can easily find examples if you Google "RPG Maker MV increase elemental damage"

3 - Something else?
The second one. Prayer beads will be a conduit for holy or dark spells and depending on what set you have, they will increase damage for either holy or darkness spells while equipped.
I have yanfly stats and buffs, but I don't know how to code this into the weapon. Do you know how to write that script?
Yanfly's Element Core will probably give you the most flexibility, provided you own the script. I believe VE Element Set could also be what you might be looking for.
This looks perfect, thank you!
I'm not sure what you want at this point, since you asked me for some code then immediately said Mojo's suggestion was perfect (that's why we're not supposed to multi-post, but use Reply and Quote to say everything at once).

Do you still need help, or was your question resolved?

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-elemental-buffs.147158/