I have an enemy that has a fire rate of 200% and a wind rate of 50%
I am using a skill that does fire and wind damage while using the <Element Magnify Fire: +15%>
The damage that I do to the enemy is 161. How is the damage calculated?
By whatever you have in your damage formula? We have no idea what number you're giving to the engine.
Unless you meant this to be a math problem, where you're giving us the result and asking us to solve for X 🤣
Sorry, the damage formula is 150.
And what Multi-Element Rule are you using? Is there any damage variance on the formula? You've gotta give us the info to work with.
Presuming you're using the default multiplicative rule,
Target's fire rate is 2 * 1.15 = 2.3
150 * 2.3 * .5 = 172
But if you're using a different multi-element rule, or you have any damage variance on, that will of course vary.
Did you set a deviation? Also Element Core has different rulings for the use of multiple elements. Which one did you choose?
Edit: Oops I didn't notice there was an answer already. Also variance is the english word ... gotta remember that.
So:
1.-The enemy has Fire Rate: 200% and Wind Rate:50%
2.-The skill is the 'Attack Command'
3.-The skill formula is just 150, for testing, no variance or anything funny, just that.
3.-The weapon I am using has the Fire and Wind elements.
4.-The weapon has the notetag <Element Amplify Fire: +15%>
6.-Element Core ruling is the default 'Multiply'
5.-Nothing else on it, no extra buffs or anything.
Edit: I think is like this: (150* 200% + 150 *15%)*50% == 161.25
Then we'll have:
Total Damage of the Skill 150.
50% Wind Damage = 75
50%Fire Damage = 75
The Fire Damage will increase through the Amplifier of 15%, so: 75 x 1,15 = 86,25
75+86,25=161,25
The other things cancel each other out. (Fire Rate 200% and Wind Rate 50% -> 2 * 0,5 = 1)
Thanks a lot, I'm starting with skills and the damages formulas, noting how it works so I dont have to worry about it later!
Yes, I use it and I had a problem with SRD Super tools but thats solve, now I can see how it is calculating the rates, just wanted to say that that calculation above wasn't working, thanks for the help!
I checked the log an this is what it does when I use Amplify:
When the enemy has one element rate and I use one amplify tag:
base * (paramrate + amplifyrate)
When the enemy has two element rates and I use two amplify tags:
base * (paramrate + amplifyrate) * (paramrate2 + amplifyrate2)
So my skill does 150 and the enemy has a Fire Rate of 200% and a Wind Rate of 50% and I use a Amplify Fire notetag of 15%:
150 * (200% + 15%) * 50% = 161.25
All I can say is that both by reading the code and by testing it in a game, that's not correct. There's no place where the amplify rate is added, it's multiplied.
Are you using an old version? Have you tested it with that being the only active plugin?
It is Element Core version 1.02, I tested without any other plugin and it just goes like that, seemed easy when I saw the log, and I tried with multiple Element Rates and amplify tags and it goes like that. The Magnify notetag just multiplies all the rates.