Hi everyone,
in my current project I want the different types of material to affect Element Rates, but I'm unsure of how it actually works.
What I want to achieve when a player has a helmet that gives 110% fire and armor that gives 125% fire to have a 135% fire total,
but from what I know he'll have a total of 125%. Is that still the case or was I just misinformed in the 1st place?
Thanks.
No. Element rate refers to the vulnerability of a character to a particular element. Raising the element rate past 100% on armor or on anything, means the that particular object, including people, will take MORE damage.
You cannot directly increase the amount of damage done with an element. You can only apply an element to equipment.
There are some scripts that will allow you to strengthen the damage done by an element however...
But just so you get it all sorted out, here is how it goes:
ATK State: attack with a kind of element from None to whatever you put in your game.
Element Rate: Amount of damage that is taken from an element.
About Normal Attack:
When you see Normal Attack, it means your hit will apply the normal traits of the attack from a partcular character.
If I have a character with who works with electricity. And his Normal Attack element(Keyword here) is electric. His normal attack when striking will be of the electric element.
So if you have a physical attack skill, with Normal attack as the element, this means that the physical attack will function based on the characters attack trait. But if you set that physical attack to another element like ice, then it wont matter if the character has an attack element of electric. The physical attack will do Ice damage. Because that is what the skill is set to do.
Now, regarding states. If you have a character with an attack state and not an element. Say, atk state Blindness. Then a skill with Normal Attack will again, make use of the actors default attack traits. Also keep in mind though, that YOU MUST HAVE NORMAL ATTACK STATE 100% in the feature window of the skill. Without this, the attack state will be ignored. Maybe even elements. Do not remove normal attack state 100% from your plain physical hits.
Umm, I guess I didnt make myself clear.
I DO want the player to take more damage - metal equipment will increase all fire/thunder damage taken, but reduce all physical damage taken for example.
All I'm unsure about is how can I make them add up, as in when you have a helmet that gives you element rate fire 105% and armor that gives you element rate fire 110% to have the player and up with 115%, meaning that he'll receive 115% instead of the normal 100% damage.
They don't add up by default, they multiply.
So if you wear something that gives 110% fire rate, then you take 110% damage.
If you wear two things that give 110% fire rate, it just takes that 110% and then multiplies it by 1.1 for a total of 121%.
Oh, I see.
Is there an easy way to make them add up? There is going to be a lot of small ones and I feel like I can balance it better if they add up since
the maths is much easier.
class Game_BattlerBase
def element_rate(element_id)
features_sum(FEATURE_ELEMENT_RATE, element_id)
end
end
Insert this script below Materials