Go to scripts
Select Game_Battler 3
Find this line of code:
self.damage = atk * (20 + attacker.str) / 20
Right under that, insert this line of code:
if atk.element_set.include?(1) # THE NUMBER IS THE ELEMENT
atk = [attacker.atk - self.pdef / 2, 0].max
self.damage = atk * (20 + attacker.dex) / 20
end
Change the
1 to whatever number element you want. You can also make another one under that which uses
user.int as well.
Then in weapons, use select that element.
Any questions? (I didn't test this but it should work... but then again, I'm a n00b at scripting
)
EDIT:
In D&D you don't use DEX for damage (then again, I've only played 3.0E rules and up). Damage is based on the 'mighty' attribute which is based on STR. Why? The more you can pull back the bow, the stronger the arrow will be. By saying damage is DEX based, you're saying just because you have godly grace and dexterity, your aim (20DEX) does the same damage as a giant (20STR) smacking you with an axe?
For example, you're shooting an arrow at a blank wall. No matter how agile and dexterious you are, that arrow is not going to do any more damage. But if you're able to pull the arrow back with more force (without breaking the bow), then you could do more damage to a wall.
For guns, neither STR nor DEX should really be used for damage, there should be a set damage for it regardless cause there's not much you can do to raise the total damage. But this is just my two cents and I'm semi-off topic rant :P