the bat defo has no immunities or resistances at all, just the basic, hit rate, crit rate, atk element, nothing more
but here is a screen ...
[IMG]http://i1061.photobucket.com/albums/t471/Jojozityjo/RMMV%20Dmg%20Formula_zpshtodrv6h.png[/IMG]
EDIT: SOLVED: Apparently, having the M in "Min" capatilized, made teh whole formula fail for some reason ... why does capitilization matter? x.x
Just tried it out, and found it was a really dumb typo on my part
Math.min(a.atk, a.atk*(a.atk/(b.def*2)))
min needs to be all lower case 😛 my bad
JavaScript is a case sensitive language, that's why
still, these formulas are hard enough for a dyslexic girl without adding in capitilization bombs on me XD
anyway, it's working now, like a charm, im loving it, thank you Gamma for all your help and patience ^,^
okay ihave another formula question lol
i got yanflies critical control plugin, and it has an option to make luck stat have an effect on critical damage, the default formula is...
value += ((baseDamage >= 0) ? 1 : -1) * 1.5 * user.luk + bonus;
what exactly does that mean? and how can i edit it so luck will do different bonuses to crit? cause i think i want it to be something like, user.luk/2 is added onto total crit dmg amount, or maybe add to the total dmg with something like Math.min(a.luk, a.luk*(a.luk/(b.luk*2))), or maybe, even add tothe multiplier itself, like a.luk/(b.luk*3) but it cant go any higher than an extra +1.5 for a total of 3x the crit dmg
cause as it is, i have critical damage multiplier set to 1.5, cause 3 feels too high to me, yet my heroes still do like, 3x the damage, i can only assume either the plugin isnt working, or that luck fomula is what's making it around 3x dmg still
i would also like to know how to use one of the lunatic modes to make a skill give the char +35% crit rate ontop of whatever crit rate they already have, but im not sure how to do that either x.x
so i still need my above post answered, i cant figure out that luck formula thing in yanflies critical control plugin, but i also have another question ...
how can i make an attack do more damage if the target's health is lower than a certain point, like if the target is below half health, the attack will do more damage to it?
in "b.hpRate()" in the parenthasis do i leave that blank or do i need to put something in there?
okies ty ^^
now if only anyone can help me understand Yanflies Critical Control luck bonus formula XD
hmmm i'm trying to balance my monks formula's for damage
he doesnt gain any skills til late game but i want his main attack (pummel hits 3 times) and all his skills to increase in damage as his hp falls i already have a formula in place for them utilizing his atk, agi, and luck scores......but wanted his hp to factor into these..... would (a.mhp - a.hp)*x work for the scaling i'm looking for?
value += ((baseDamage >= 0) ? 1 : -1) * 1.5 * user.luk + bonus;
that one, id like to know what it means, what each part means and how it effects the crit damage formula. Yanfly's description says it adds a flat dmg amount onto the crit dmg result, but im not sure what the formula does or how i can edit it to fit my own taste better, cause as is, it's rather op for my taste, my crits are just too high for me.
so the 1.5 is the default crit damage multiplier?
so then, 1.5 * user luck, if the user luck is like, 100, so that would mean the crit damage multiplier would be 150x more dmg!? 😳
oh i see, so is there any way i could change the formula to make it so it adds to the multiplicative value of crit dmg? something like .. Math.min(1.5, user.luk/(target.luk*3) .. so that the bonus is based on luck vs target luck and it makes it so the Crit Multiplier gains at most, an extra 1.5x? that way with enough luck, it could make my games total Crit Dmg multiplier go from 1.5x to 3x ?