Is possible to make shields with different damage reductions for Chrono engine ABS?

Hello. If you know about Chrono engine ABS, you will know the shield command put a shield in front of the player that blocks all the incoming damage. If the attack hits you in the sides it blocks half of the damage. But i think that kinda defeat the intention of having different shields, when only one can work perfectly.

My idea would be to do something like in Dark souls, where you have different shields, and each one blocks a percentage of every type of damage. For example, a shield called "Crest Shield" blocks 100% of physical damage, 80% of magic damage (magic counts as an element in that game), 55% of fire damage, and 45% of lighning damage.

In my game shields won´t give stat increases, unless a few exceptions with special effects. For that i would like to know if is possible to do something like that.
Yes, but it requires you to edit the ChronoEngine code as I posted here
Yes, but it requires you to edit the ChronoEngine code as I posted here
I saw that was a chance to block, then that means if the chance fail, you take all the damage? Because my idea would be you would be always able to block, but reducing different percentages of different types of damage depending of the shield.

An also, the consuming CT while blocking thing is not a bad idea either.
I saw that was a chance to block, then that means if the chance fail, you take all the damage? Because my idea would be you would be always able to block, but reducing different percentages of different types of damage depending of the shield.

An also, the consuming CT while blocking thing is not a bad idea either.
As I wrote it it will block all damage blockChance% of the time, otherwise the player takes full damage. For fine tuned percentages based on the type of attack you would have to edit the code and add those conditional checks.
As I wrote it it will block all damage blockChance% of the time, otherwise the player takes full damage. For fine tuned percentages based on the type of attack you would have to edit the code and add those conditional checks.
And if i would have that code, how i would put different values in each shield? In the notes of each ones, i suppose. The thing is, i don't know how to make such edits. I think i should watch some tutorials.
And if i would have that code, how i would put different values in each shield? In the notes of each ones, i suppose. The thing is, i don't know how to make such edits. I think i should watch some tutorials.
I told you months ago it would benefit you to learn some Javascript because you make a lot of threads asking for specific mechanics that require editing a plugin. I've written some code for you but I don't have the time to make everything you want.

You can use my code as a template but you will have to add additional if statements before the damage to check the types of attacks. You would also have to either add more notetags or edit that blockChance notetag to take more arguments.

You could also try to tackle this problem from either the damage formula or states instead of editing the plugin code. I don't know if it's possible that way or not.

Original thread: https://forums.rpgmakerweb.com/threads/is-possible-to-make-shields-with-different-damage-reductions-for-chrono-engine-abs.164469/