Weapon typ specific Buffs

Hello everyone, I hope you´re doing well.

Anyway~ I have a Marksman Class that is able to use Bows, Guns and Daggers.

I also use Support Items that should give the weapon additional effects like "a Clip of heat rounds" als an Accessoire that gives the Gun the FireDmg Attribute~ buuuuuuut that also gives a Dagger the FireDmg Attribute if i equip is.

soooooo~ i was wandering if there is a way to make an Armor/Accessoire that buffs the standard attack of a weapon but with a weapon typ gateway? ... i played around with "user.wtypeId" but i couldn't realy wrap my head around a possible way to do this.

Any Ideas? (rough ideas are fine too, i just feel like having a dull moment or somethin)

Thanks in advance! \( °u°)/
It sounds to me that you need to make them passive states with a passive state plugin and attach them to the accessories. You'd have the passive state have an attack element trait for fire and give it a requirement that the battler needs the correct wtype equipped.
What about giving the clip an item type that can only be equipped when you have a gun?
(for example all guns have the trait that enable equipping clips).
I suggest looking into the Wayne95 CustomOnEquipEval plugin. With that plugin, some states and a little bit of coding you can get the thing working the way you want it.
I´ll just give every Gun a

<Enable Switch: X>

and every magazin clip and

<Equip Requirements>
switch: X
</Equip Requirements>


same with Bows and Quivers or Tips etc.
Thanks for the Help!!!

EDIT: <Enable Switch: X>
is only for Items buuuut i can just give the Clip an own Equipment class and the gun the trait "enable eqipment typ: Clip"
let us know if you find a solution that works for you, if you don't, then we can come up with one that works together!
1753383977621.png
1753384008278.png
1753384036622.png

Success
Magazine is spelled with an 'e' at the end, in case you care.
Magazine is spelled with an 'e' at the end, in case you care.
In terms of OP's country being Germany, Magazin is the german word for magazine.
In terms of OP's country being Germany, Magazin is the german word for magazine.
I am aware . . . yet every other word is in English. Consistency is better for engagement.
Also I'm terribly Dyslexic :hswt: but Thanks

Original thread: https://forums.rpgmakerweb.com/threads/weapon-typ-specific-buffs.179046/