Thread:Randomouscrap98/@comment-5106053-20140429031049/@comment-5106053-20140522222721

74.178.23.238 wrote: If damage becomes a negative amount, I say this bit of coding:

If Damage<=-1 Damage==0 Actually that shouldn't be an issue now since all damage is calculated proportionally, It would only go negative if the defense was really high, but I capped the max defense at 255 which decreases damage by 90%. For increasing the max defense, I have the part of the formula that is LOG(256), the 256 is the max defense+1, so if I increase the max defense, as long as I change that part too, the max defense will always be -90% damage.