I'm trying to set up a system where, depending on the class currently in use, the player will get bonuses when the uses a weapon type that the class they have is proficient in. In my game, any class can equip any weapon type, but certain classes prefer certain weapons (this is shown to the player, dependent on their weapon rank A to E).
Player A has two classes available (Knight and Mage) and wants to equip a broad sword. The Knight has a A rank in swords, and the Mage has an E rank in swords.
The Sword has a +10 Atk score.
If the Player is the Knight class, they will gain a 100% bonus to the weapon attack, so when they equip it, they will get a +20 atk, instead of a +10.
Conversely, if they player is a mage class, they will gain a 50% penalty to the weapon attack, and they will get +5 atk instead of +10.
Are there any scripts that will allow this kind of management?
How I see it working
Player A has two classes available (Knight and Mage) and wants to equip a broad sword. The Knight has a A rank in swords, and the Mage has an E rank in swords.
The Sword has a +10 Atk score.
If the Player is the Knight class, they will gain a 100% bonus to the weapon attack, so when they equip it, they will get a +20 atk, instead of a +10.
Conversely, if they player is a mage class, they will gain a 50% penalty to the weapon attack, and they will get +5 atk instead of +10.
Are there any scripts that will allow this kind of management?