Hello!
I'm making for my project a weakness/resistance system that doesn't use rates, but fixed values. For example, an enemy with resistance to Fire i'll make it that he removes 5 damage points from the total damage received from Fire attacks.
To do this, though, i need to be able to check the elemental damage inflicted by the weapon equipped by an actor. I tried looking for the right function to get the weapon's element ID, but i can't find it. Could you help me with this? Thanks in advance!
I'm making for my project a weakness/resistance system that doesn't use rates, but fixed values. For example, an enemy with resistance to Fire i'll make it that he removes 5 damage points from the total damage received from Fire attacks.
To do this, though, i need to be able to check the elemental damage inflicted by the weapon equipped by an actor. I tried looking for the right function to get the weapon's element ID, but i can't find it. Could you help me with this? Thanks in advance!