Ok I have an issue. I completely understand how to figure the character damage. what I cant figure out is how my enemy is doing 15 -17 damage with his attacks. It makes no sense. Here is what I have. Like I said my character does what the math says he should do. It is the enemy i cant figure out. If you need more info please let me know. Any help is greatly appreciated
Formula issue
RPG Maker MV SupportFollow up..... I have figured one thing out tell me if you understand this.... I was using Battle test under troops to do this. It doesnt calculate right on the defense. As per my screen shot it shows 21. GO into the game a encounter enemies there it is 6 which according to the formula WOULD let them do about 17 damage. Why is battle test different with the same gear??? Also my armor is defense of 15.... Where is this calculated in?
Near as I can tell... I don't know how you're getting any damage what-so-ever. Especially with the stats you're using. With the stats the slime has, I'm coming up with -22 in terms of damage, unless I've read the formula wrong. Your slime should be doing 5 x 4 - 21 x 2 with your chain mail equipped. If I did the multiplication first (which is what I think you're meant to be doing) it should be 20 - 42 = -22.
Though, I think you might be using a plugin or something since you've got some kind of variance thing in a note tag on your armor. Without knowing what you've got put in in terms of plugins, it'll probably be difficult to determine what the problem is.
I did notice a minor bug with the "Test" however, when I went to check it in my own game, and it seems to add random stats to Attack, Agility, and Luck for no reason, despite the set stats of my character, my class, and no equipment. Instead of reading 10 Attack, it read 11. Instead of reading 10 Agility, it read 13 Agility. Instead of having 10 Luck, it read as 12 Luck.
This might be an issue for the next update of the program, though there's no way I can be sure.
Also, your Attack skill has a 20% variance, which means it can hit 20% more or 20% less than the projected amount. A hit that would do 100 damage, might hit for anywhere between 80-120 damage.
As for where your armor is calculated in... It's calculated based on the equation used. It adds 15 to your Defense Stat. So, when it calculates damage against you, it's using your total Defense stat since you told it to with the equation.
In any case, you also have a "Physical Attack" Element attached to the Slime and I have no idea if your character is weak to Physical attacks or not.
Likewise, I have no idea what kind of target damage you're aiming for How much damage should the Slime be doing to you? Unless I read the formula wrong, it should be doing zero damage to you.
Are you using Plugins?
Though, I think you might be using a plugin or something since you've got some kind of variance thing in a note tag on your armor. Without knowing what you've got put in in terms of plugins, it'll probably be difficult to determine what the problem is.
I did notice a minor bug with the "Test" however, when I went to check it in my own game, and it seems to add random stats to Attack, Agility, and Luck for no reason, despite the set stats of my character, my class, and no equipment. Instead of reading 10 Attack, it read 11. Instead of reading 10 Agility, it read 13 Agility. Instead of having 10 Luck, it read as 12 Luck.
This might be an issue for the next update of the program, though there's no way I can be sure.
Also, your Attack skill has a 20% variance, which means it can hit 20% more or 20% less than the projected amount. A hit that would do 100 damage, might hit for anywhere between 80-120 damage.
As for where your armor is calculated in... It's calculated based on the equation used. It adds 15 to your Defense Stat. So, when it calculates damage against you, it's using your total Defense stat since you told it to with the equation.
In any case, you also have a "Physical Attack" Element attached to the Slime and I have no idea if your character is weak to Physical attacks or not.
Likewise, I have no idea what kind of target damage you're aiming for How much damage should the Slime be doing to you? Unless I read the formula wrong, it should be doing zero damage to you.
Are you using Plugins?
That damage you said " Your slime should be doing 5 x 4 - 21 x 2 with your chain mail equipped. If I did the multiplication first (which is what I think you're meant to be doing) it should be 20 - 42 = -22. " is exactly what i was thinking as well. I do use yanfly item upgrade and equipment upgrade plugins for the variance on dropped equipment but they are nto the issue. I turned them off and got the same result. It is strange in game is totally different than the test. I will disable ALL plugins and see the result then re-enable one at a time if a plugin is the problem I will find it that way. I will include my screenshots of plugins. There are several I have not configured yet. I keep a list for polishing. I appreciate you responding to confirm I am thinking of the calculations correctly.
UPDATE... With all plugins disabled in game slime does 0 damage as expected. The test system still isnt right but it is a plugin issue. I will track it down.
Have you taken a look at the YEP Damage Core? I'd start there. I don't use that particular plugin myself, so I don't know what the issue could be, if that's where your problem is. But, it might be a good place to start looking and see what it's doing.
Craziest thing.... I disabled all addons. Re-enabled a few at a time. changed NO options and the damage is working as it should now..... Thed test system is still jacked up but in game it is as it should be....
I got it all working according to the math now... Very strange... THink I am going to drop some addons.
At least it's working now! Good luck!
Thanks. I took out the item and equipment plugin and it works much smother.... The plugins are nice but appear to be kind of buggy
Original thread: https://forums.rpgmakerweb.com/threads/formula-issue.78618/