Ok, so I saw a topic in here awhile ago and I would post in it but it hasn't been posted in 2 years and I know that necroposting isn't tolerated here very well so I'll just make a new thread.
Ok, so I tried to find many ways to get a weapon to do 12 damage(and only 12) to an enemy but everything I do, it will go sometimes to 11 or 13. I'm also doing the same for enemies to give me 7(and only 7) but like weapons, it's the same. Going a bit under or over.
Now, in that same topic I saw something about how you can mess around with Game_Battler 3 on line 51(says line 53 in error even though I edited out line 51) by taking that line out but when I strike or get hit, the game gives me an error saying
"Script Game_Battler 3 line 53 nomethod error occurred
undefined method `*' for nil:nilclass"
I wish I could find a way to fix any battle damage and make it be exact.
You have to remove variance. I tried doing it once. Here's what ForeverZer0 told me.
Quote from: ForeverZer0 on July 07, 2011, 07:37:27 pm
The attack_effect method in Game_Battler (part 3).
I was able to remove critical hit and missing, but I could never find how to remove variance.
I see, but I need to know what exactly to remove/change and what not.
comment out/remove these lines:
if self.damage.abs > 0
amp = [self.damage.abs * 15 / 100, 1].max
self.damage += rand(amp+1) + rand(amp+1) - amp
end
Thanks Winko, it worked.
All fixed now.