hi guys this time i was wondering about a way to change the custom elemental resistances calculation , change it from A-F system to a customizable percentual system via equipment
any idea if this can be done by scripting?? or any hint of how i should make this??
EX: have a fire resistant armor marked with fire resistance in the database that should halve fire based damage, but i want to change it to lets say... 5%.
scripts using: guillame`s multislot system , remake final fantasy 7 materia system, tons of addons and passive augments. default battle system.
BUMP! =( any hint clue on where i should search to make this possible??
Look into the "element_rate" method in Game_Actor and Game_Enemy, as well as the "elements_correct" method in Game_Battler, which is used in the "attack_effect", "skill_effect", and "item_effect" methods in the same class.
This will allow you to see how the damage is altered depending on the elements. You can also insert your code to alter it, depending on how you create the equipment to possess varying rates.
ok thanks that should be fine to start making the proper code