Does anyone out there use this much? I've got it installed (along with the necessary DamageCore script), but I haven't noticed it working at all.
My example. I start a new game, my character has a DEF of 10. The enemy has an Attack of 5. They are doing 17-21 DMG per hit. I put a Tunic in a chest, with a defense of 3. When I equip the Tunic in game, the enemy is still doing 17-21 DMG per hit. I upped the Tunic to 8 Defense. Still same damage. I upped the Tunic to 15 Defense... and still the same damage.
It sure seems to me like something isn't working. I took the "/ b.def * 2" or whatever it was out of all the skills (including Normal Attack). I was supposed to do that, wasn't I? Anyone have any tips and/or suggestions?
The problem is you took the 2 * b.def out of all skills, so now defense is meaningless in your equations. That's why the values are not affecting how much damage you are taking.
Isn't that the point of the plugin, to not have to use that? It says right in the description on Yanfly's website:
"...Armor Scaling allows the damage formula to be rid of “b.def * 2” and similar calculations ..."
And it in the video, it shows the calculation being deleted while the text says, "...you can even remove the DEF portions of your damage formulas since the plugin takes care of it."
So...?
While that may work, if you check the chart on the same page as the plug-in, you need to assign armor values, not DEF values. From what I can see, by default 2 points DEF = 1 point armor, and with your defense values and damage it is probably still just rounding into 21 (remember, all damage is rounded up, so 20.56 is still 21).
You'll either need to assign higher DEF values or assign armor values directly. The chart on the page of the plug-in can help you see what you want to aim for.
Edit: Worked out the math. Initially, you had 10 DEF, which is 5 points of armor. That means the enemy was doing 21 damage after 5 points of armor was applied. This means (working backwards and using the chart), that it would have done 22 damage without any armor (0.9524 * x = 21 -> x = 22)
With the tunic at 8, You increased your DEF to 18, which means you now have 9 armor. That means if the enemy did 22 damage before armor initially, they would now do: 22 *0.9174 = 20. So the tunic is only changing the damage by 1 point at this point in time.
Even going to 15 won't give serious changes until the enemies start doing more damage. The problem is just that at this point in the game, the numbers are too low to really see any impact. Try it out with an atk of 100, and a DEF of 0 first, then atk of 100 def of 100, and you will probably see serious differences.
Did you start a new game or continue after adding the plugin? If you continued, the game won't use the plugin if you didn't have it before. Starting a new game will activate the plugin.
Thanks for the suggestion, shockra, but I definitely started a new game.
You need to recheck the math. I posted more as an edit, but the problem is your numbers are just too low to see any impact at this point in the game. Even 15 DEF + your natural DEF is just going to reduce the damage by 1 - 2 points, which may not show up at all after variance is applied. Try it with an ATK of 100, DEF of 0, then compare with ATK of 100, DEF of 100.
Thank you so much. How this script works is a fair bit clearer to me now.
So, what if I changed the formula to 10 / (10 + armor)... This would scale to smaller numbers then, wouldn't it? And then I could change the armor points formula from "target.def / 2" to just "target.def".
At a defense of 10, I have armor 10. (10/10= 1 @ (8 * 4 = 32 ATK) = 32DMG)
At a defense of 15 (10/15=.6666 @ 32 ATK = 21 DMG)
At a defense of 15 (10/15=.6666 @ 64 ATK = 42 DMG)
At a defense of 20 (10/20=.5 @ 64 ATK = 32 DMG)
At a defense of 20 (10/20=.5 @ 96 ATK =48 DMG)
At a defense of 25 (10/25=.4 @ 96 ATK = 38 DMG)
At a defense of 25 (10/25=.4 @ 160 ATK = 64 DMG)
At a defense of 30 (10/30=.3333 @ 160 ATK = 53 DMG)
So every time I get a new piece of armor (that is +5 from the last, or so), it's lessening the DMG by about 10-11 points. That's not bad I think, as long as the HP values stay smaller as well, maybe only increasing 20-25 HP per level?
Thoughts?
Hard to say until you test it, but I'd say leave it for now and see how it plays out when you get to that point in the game, and return to this if needed.
I am having a weird issue that i can not figure out, maybe someone here can shed some light onto it.
The note tag i have in the basic atk and a random skill is both
<Base Armor>
armor = target.def / 2;
</Base Armor>
and i set both of the damage formulas to a flat 100 0 variance and no crit.
This is just for testing purposes obviously.
So the weird thing is when i do the basic attack i on a level 1 mob with 20 def i get the standard 91 dmg as i would expect, but when i chose the skill, for ease lets call it sword attack, it it showing damage of 60.73 dmg done.
From the math perspective it looks like it is evaluating the skill at a defense of 127 giving it 63.5 armor with a multiplayer of 61.16%......
I cant for the life of me see why this is hitting this weak, i dont see any extra formulas or anything else bonus making the skill hitting for way less.
Anything yall could think of for me to look at or i can post here to help would be appreciated..
Thanks again.