I know next to nothing about scripting, (particularly in Java), and was hoping I could get some help from here on the forums. I'm wanting to rework the damage and battle system used for my game, and I have no idea how to go about it. The idea I have in mind is twofold.....
1) I'm wanting to have it so that damage is based on a 1-1 formula. In other words, if an enemy is neutral to a damage type, a character attacking with 15 points in attack would deal 15 points of damage. I would like to allow for weaknesses and resistances though, so that if said character attacked with another skill that had a base damage of 20, but the enemy was weak to that skill type, the attack would do 30, (or 1.5x), damage. The current damage formula in the program however is multiplicative, which means that such a system can't be maintained against all enemies and attack values without adding a script. The problem is that I don't know enough about the basic scripting involved in relation to the program to make such a script.....
2) I'm wanting to have attacks that draw from three different stats. STR for physical, INT for magic, and DEX for ranged. I'm also wanting to have seperate defensive stats for these three variables. Right now the system only allows for "Physical" and "Magical", and I don't know how to alter this to add additional parameters.....
I have other things in mind, but these are the two primary ones that I need help on at the moment. Honestly, if someone can give me examples of scripts that are related to these, I could likely figure it out from there, but I'm having trouble finding what I'm looking for, or explanations that don't assume you already know java in it's entirety.....
1) I'm wanting to have it so that damage is based on a 1-1 formula. In other words, if an enemy is neutral to a damage type, a character attacking with 15 points in attack would deal 15 points of damage. I would like to allow for weaknesses and resistances though, so that if said character attacked with another skill that had a base damage of 20, but the enemy was weak to that skill type, the attack would do 30, (or 1.5x), damage. The current damage formula in the program however is multiplicative, which means that such a system can't be maintained against all enemies and attack values without adding a script. The problem is that I don't know enough about the basic scripting involved in relation to the program to make such a script.....
2) I'm wanting to have attacks that draw from three different stats. STR for physical, INT for magic, and DEX for ranged. I'm also wanting to have seperate defensive stats for these three variables. Right now the system only allows for "Physical" and "Magical", and I don't know how to alter this to add additional parameters.....
I have other things in mind, but these are the two primary ones that I need help on at the moment. Honestly, if someone can give me examples of scripts that are related to these, I could likely figure it out from there, but I'm having trouble finding what I'm looking for, or explanations that don't assume you already know java in it's entirety.....