Hi.
I have following weird situation.
I don't use any plugins.
My Actors and Enemies have multiple element rates. Stats are the same (everything = 100) with no variance in damage for debugging. Base damage is 100 and element rates make last digit either 5 or 0. Max. Damage is 300. Element rates are either 50%, 150% or 200%.
Enemy elements are stored in their respective database entry.
My actors have Element Rates in Actor and Class Traits. Mainly for debugging purposes to quickly change stuff instead of making seperate actor. I setup Class Change NPCs that make you forget all previous learned skills.
One glich I noticed is that if enemies have different then their damage output is much higher. 313, 625, 938, 1875. 625 seems to be the base damage. Much higher. Meanwhile the Actors damage output is minimized. 22 and 24 base damage. The base damage output is totally different. The rates seem to work tho. If enemies and actors have the same attribute then everything seems fine however.
This is the formula:
b.elementRate(2) is a variable but making it a constant didn't fix the glitch.
Then I removed the Element Rates from the Class and put them in the Actor's traits. Solved the problem. Adding the Element Rates by Equipment also worked.
Hope you understand this situation.
Is this a known glitch or an error by me? It makes no sense to me.
Thanks in advance.
I have following weird situation.
I don't use any plugins.
My Actors and Enemies have multiple element rates. Stats are the same (everything = 100) with no variance in damage for debugging. Base damage is 100 and element rates make last digit either 5 or 0. Max. Damage is 300. Element rates are either 50%, 150% or 200%.
Enemy elements are stored in their respective database entry.
My actors have Element Rates in Actor and Class Traits. Mainly for debugging purposes to quickly change stuff instead of making seperate actor. I setup Class Change NPCs that make you forget all previous learned skills.
One glich I noticed is that if enemies have different then their damage output is much higher. 313, 625, 938, 1875. 625 seems to be the base damage. Much higher. Meanwhile the Actors damage output is minimized. 22 and 24 base damage. The base damage output is totally different. The rates seem to work tho. If enemies and actors have the same attribute then everything seems fine however.
This is the formula:
JavaScript:
(a.atk * 100 / b.def) * b.elementRate(1) * b.elementRate(2)
b.elementRate(2) is a variable but making it a constant didn't fix the glitch.
Then I removed the Element Rates from the Class and put them in the Actor's traits. Solved the problem. Adding the Element Rates by Equipment also worked.
Hope you understand this situation.
Is this a known glitch or an error by me? It makes no sense to me.
Thanks in advance.