Hello, the aim for the equipment in my project is to keep every item, weapon, and armor relevant throughout the entirety of the game. To that end, all of my equipment remains unique in that they are the only items with that particular trait, so there is never any overlap.
The particular weapon I have in mind, is supposed to deal full damage to a target's HP, but also deal damage to MP equal to half of the HP damage. i.e. 1200 HP damage, 600 MP damage
I'm sure it could be put in the damage formulae for skills, with ternaries or if/else statements. But my damage formulae already are complicated as it is, and adding this depth for a single weapon would pave the way for plenty of errors and broken skills, not to mention the time it would take to write a formula for all of my unique skills.
So I'm curious if there is an alternative way to achieve this goal, either through plugins or javascript. For the record I am not at all good with java, so I'd need some very clear instructions on how to set that up if that was the path we went with.
Furthermore, since this is a specific weapon trait, it'd be be able to work with all of the skills that character uses as well.
So that brings about the question...
How do I do this?!
The particular weapon I have in mind, is supposed to deal full damage to a target's HP, but also deal damage to MP equal to half of the HP damage. i.e. 1200 HP damage, 600 MP damage
I'm sure it could be put in the damage formulae for skills, with ternaries or if/else statements. But my damage formulae already are complicated as it is, and adding this depth for a single weapon would pave the way for plenty of errors and broken skills, not to mention the time it would take to write a formula for all of my unique skills.
So I'm curious if there is an alternative way to achieve this goal, either through plugins or javascript. For the record I am not at all good with java, so I'd need some very clear instructions on how to set that up if that was the path we went with.
Furthermore, since this is a specific weapon trait, it'd be be able to work with all of the skills that character uses as well.
So that brings about the question...
How do I do this?!