Maliki's ElementEX ver 1.6

If the enemy had resistance to ONLY physical and the resistance was 100% then the attack would do no damage.

If it had 100% physical resist and 50% fire, it would heal for 50% damage and so on.

The enemy would only take the element(s) into account if a element def tag was added to it's notes.
Ok I see thanks for the explanation. 
Ok so I was trying to use this, but if you have over 10 elements, it starts bugging out. elementid 1 is read for 1, 10, 11, 12, and so on, it doesn't seem to get it right.
Ok so I was trying to use this, but if you have over 10 elements, it starts bugging out. elementid 1 is read for 1, 10, 11, 12, and so on, it doesn't seem to get it right.
I'll take a look and try to correct that.

Edit:  I tried to replicate the error and could not.  Could you tell me how you set up your skill and the tags used?
Ok so I was trying to use this, but if you have over 10 elements, it starts bugging out. elementid 1 is read for 1, 10, 11, 12, and so on, it doesn't seem to get it right.

Sorry it took me so long to hammer out a fix, but I did find it and corrected it!


Thanks for pointing the bug out.
Updated for compatibility with Victor Engine's Damage Popup plugin.
Update!
Code rewritten for readability and efficiency. Also added <priorityObj> and <ignoreEquipElementObjects> tags to allow a bit more control over object element inheritance by devs.

Original thread: https://forums.rpgmakerweb.com/threads/malikis-elementex-ver-1-6.50214/