Hi all,
I’m looking for a way to accomplish something very specific with dual wielding and equipping weapons in general, and I’m wondering how best to accomplish it. The reason for the specifics is to implement a D&D like system of attacks/damage in general, which also relates to certain characters that will be in the game. I’m using a number of Yanfly plugins, so they can be used to help out here.
Here are all the things that it needs to do.
1) It needs to take into account that I am using weapons completely differently than how the system uses them by default. They do not alter the Basic Parameters *at all*, but instead are intended to add a certain value to damage based on the weapon type. The formula they need to provide is: Math.randomInt(x) + 1
(x) will be based on weapon type. The ATK parameter will adjust damage by adding something like this: (a.atk-10) / 2 to the calculation. (I really need to figure out how to alter that so that the absolute value is rounded down if positive, and up if negative. Ie, ATK 15 should result in a 2, and ATK 9 should result in -1, though I also need to make sure I’m not giving the opponent HP back when I hit with a negative).
I have been able to make weapons do this by using YEP Weapon Unleash. I give each weapon a 100% chance of unleashing a skill associated with that weapon type (ie, the Longsword would unleash the Longsword skill), with the skills having damage formulas of: Math.randomInt(x) + 1 + (a.atk-10) / 2
I am not attached to using that plugin, and am willing to use whatever method works best to achieve that basic formula (hopefully refined to correct the rounding issue).
2) I will need to be able to add specific damage modifiers to specific weapons, that will not influence the base parameters. So if I need the longsword +2 weapon to do an additional 2 points of damage, I need to be able to do that without giving it an ATK value of 2, because I can’t have weapons adjusting my Base Parameters. I could probably do this by making a unique skill for each particular weapon that varies from the basic weapon type if need be, but I’m not sure that would be ideal.
3) Accuracy will be huge, with HIT and EVA being a major factor. HIT needs to be based on a formula derived from an actor’s level and ATTACK, while EVA will be based on a formula derived from specific armor worn and AGI. I’ll probably be using YEP Hit Accuracy to figure out how to make that part work, but I haven’t even started on it yet.
With that background, here is how it relates to dual wielding and equipping weapons.
4) Any actor needs to be able to equip any weapons they are allowed to equip in any of the following ways:
a) One handed weapon + (optional) shield
b) Two-handed weapon
c) 2 one-handed weapons
Some actors will be able to equip every weapon in the game, so I need a system that doesn’t rely on specific actor limitations.
5) When using 2 one-handed weapons, I need each weapon to attack and deal damage separately when the character makes a basic Attack, using that formula above. As I understand it, this is not how the Dual Wield slot setting functions.
6) It would be ideal if I could limit certain actors in which weapons they could use when equipping 2 one-handed weapons, but not have that limitation apply to equipping one weapon. For example, any actors able to wield the weapons can equip one longsword, or one shortsword, OR 2 shortswords, but only some actors can equip 2 longswords. This is the least important part though of the goal, though it would be nice.
What are my options for how to accomplish those goals? (I have glanced at some of the dual wielding threads, but I figure my unique needs might throw a wrench into some of those solutions that experienced users could tell me immediately.)
Thanks in advance for any responses!
I’m looking for a way to accomplish something very specific with dual wielding and equipping weapons in general, and I’m wondering how best to accomplish it. The reason for the specifics is to implement a D&D like system of attacks/damage in general, which also relates to certain characters that will be in the game. I’m using a number of Yanfly plugins, so they can be used to help out here.
Here are all the things that it needs to do.
1) It needs to take into account that I am using weapons completely differently than how the system uses them by default. They do not alter the Basic Parameters *at all*, but instead are intended to add a certain value to damage based on the weapon type. The formula they need to provide is: Math.randomInt(x) + 1
(x) will be based on weapon type. The ATK parameter will adjust damage by adding something like this: (a.atk-10) / 2 to the calculation. (I really need to figure out how to alter that so that the absolute value is rounded down if positive, and up if negative. Ie, ATK 15 should result in a 2, and ATK 9 should result in -1, though I also need to make sure I’m not giving the opponent HP back when I hit with a negative).
I have been able to make weapons do this by using YEP Weapon Unleash. I give each weapon a 100% chance of unleashing a skill associated with that weapon type (ie, the Longsword would unleash the Longsword skill), with the skills having damage formulas of: Math.randomInt(x) + 1 + (a.atk-10) / 2
I am not attached to using that plugin, and am willing to use whatever method works best to achieve that basic formula (hopefully refined to correct the rounding issue).
2) I will need to be able to add specific damage modifiers to specific weapons, that will not influence the base parameters. So if I need the longsword +2 weapon to do an additional 2 points of damage, I need to be able to do that without giving it an ATK value of 2, because I can’t have weapons adjusting my Base Parameters. I could probably do this by making a unique skill for each particular weapon that varies from the basic weapon type if need be, but I’m not sure that would be ideal.
3) Accuracy will be huge, with HIT and EVA being a major factor. HIT needs to be based on a formula derived from an actor’s level and ATTACK, while EVA will be based on a formula derived from specific armor worn and AGI. I’ll probably be using YEP Hit Accuracy to figure out how to make that part work, but I haven’t even started on it yet.
With that background, here is how it relates to dual wielding and equipping weapons.
4) Any actor needs to be able to equip any weapons they are allowed to equip in any of the following ways:
a) One handed weapon + (optional) shield
b) Two-handed weapon
c) 2 one-handed weapons
Some actors will be able to equip every weapon in the game, so I need a system that doesn’t rely on specific actor limitations.
5) When using 2 one-handed weapons, I need each weapon to attack and deal damage separately when the character makes a basic Attack, using that formula above. As I understand it, this is not how the Dual Wield slot setting functions.
6) It would be ideal if I could limit certain actors in which weapons they could use when equipping 2 one-handed weapons, but not have that limitation apply to equipping one weapon. For example, any actors able to wield the weapons can equip one longsword, or one shortsword, OR 2 shortswords, but only some actors can equip 2 longswords. This is the least important part though of the goal, though it would be nice.
What are my options for how to accomplish those goals? (I have glanced at some of the dual wielding threads, but I figure my unique needs might throw a wrench into some of those solutions that experienced users could tell me immediately.)
Thanks in advance for any responses!