I have little to no experience with scripting, and I don't really like the constant testing that goes along with the default damage algorithm of RPG Maker XP. So I have created my own algorithm, but of course, I don't know how to script it. Could anyone help me?
The algorithm is as follows:
Physical attacks: (Strength + Weapon Attack) - (Physical Defence + Dexterity) = Damage done to target
Agility = Evasion & Critical Strike Chance
Skills/Spell Attacks: (Intellect + Skill's Power) - (Magical Defence + Dexterity) = Damage done to target