Hello there! My name's Randomness5555 and while I've posted a few posts ages back, this is my first real post, so my apologies if this is in the wrong place.
So, to cut straight to it, I've been working on a military style RPG and I've encountered a problem. I've been working on a custom battle system that uses the existing statistics in a rather unusual way, such as using the luck value to have explosions do splash damage dependant on the distance an explosive weapon is from its target. However, my problem is in the distance system. I'm using MATK as a range value for weapons, and MDEF as a 'Distance' value, the idea being that manoeuvring in and out of range could be a main part of the system.
However, I've hit a snag. One fairly important thing I need to get working is a skill that tells the player how close to their opponents they are. All it has to do is read off the targeted enemies MDEF into a text window or even shown as a damage number if that's easier to work with. Everything else I'm pretty sure I could work out. So, my first question is, is this possible without a script and if so, any advice on how one would one go about it?
Secondly, another issue is with the range system itself. Since the opponent only has one MDEF value, all units would be the same distance from the target, even if only one actually moved. So, is it possible to make the value unique to each player character? I'd assume that in this particular case, variables might be useful, and that you could perhaps save and load the MDEF to a variable that changes depending on who's player's turn it is?
Either way, thanks in advance, Random.