2009-11-10, 02:11 AM
(2009-11-10, 12:59 AM)HwitVlf link Wrote:A couple things that should make setting Attack/Defense stats easier: if the defenders stat in a category (slash etc) is set to zero, the attacker's corresponding attack stat is the actual damage done.
Example: Player Slash attack =99, Enemy Slash defense =0:? 99 damage is dealt.
Just remember to factor in 1/5 of the player's MAG and STR stats.
This does not follow SoM's normal damage formula and has probably been responsible for a lot of the confusion. It is probably a convention SoM uses to avoid a 'dividing by 0' error that their standard damage formula would produce with zero stats. If you bump the defense stat up to 1, the damage would actually increase.
Example: Player Slash attack =99, Enemy Slash defense =1:? 4000+ damage is dealt.
Also, I have a damage calculator underway that should make tweaking enemy weapon stats much easier. SoM uses an extremely convoluted formula and I was having trouble with 'divining by 0 errors' but it should be ready shortly.
You should be careful suggesting this knowledge would make anything easier. It's actually an exception to the rule which, is good to know, but ultimately just makes things more complicated.
It's doubtful a divide by zero work around. That's not a problem for programmers. It's more probably just a convenience for people who want to have a simpler damage system, or more likely for casual designers (kids) who setup a game and never think to mess with the defense stats, or at least not until later.
It's not sure but it might even make setting up some scenarios easier by having some kinds of monsters with 0 def.
There are many weird exceptions in SOM where a setting of 0 seems to cause behavior which you would not normally expect. Putting them all in one place would probably be a helpful FAQ (or whatever the reverse of a FAQ is)