Problem with a formula

Hi everyone !

I make a game with low stats, and I have a problem with a skill formula.

I don't use DEF nor MDF, so my formula are very simples. For example :

Heavy slash = a.atk

Fire bolt = a.mat

When I use Heavy slash with my hero who have 10 ATK, it makes 10 damages points.

But when I use Fire bolt with my hero who have 10 MAT, it's stuck to 1 damge points, instead of 10.

I really don't see where the problem is.
You sure your character's Magic Attack stat is at 10 when testing the skill?
You can go into the menu, in the Status screen, to verify your character's stats.


Stats are influenced by all their equipment too. You could have 10 on your actor or class, and equipment that totals to -9, which would bring it to 1.


Also does your formula have a variance?
You sure your character's Magic Attack stat is at 10 when testing the skill?
Yes, I've even put the MAT to 100 and it makes 1 damage point as well.
Your enemy could also have some resistances that might affect it.
You can go into the menu, in the Status screen, to verify your character's stats.

Stats are influenced by all their equipment too. You could have 10 on your actor or class, and equipment that totals to -9, which would bring it to 1.

Also does your formula have a variance?
It's really weird.

I've removed all equipement. I've tested with a 20 variance, and then without variance, and it's the same.

I've also removed all my scripts ans there's no change. 

I've put MAT to 100, and I'm sure there is no change during the batlle. But the skill makes 1 damage point.

Your enemy could also have some resistances that might affect it.
The enemy has no resistance to any element, and I don't use DEF and MDF in my formula.
I tested the skill with that same formulae on a character with 10 MAT, and it did 10 damage, as it should.
I tested the skill with that same formulae on a character with 10 MAT, and it did 10 damage, as it should.
I tested it in a new project and it works fine indeed.

I don't know what is wrong with my current project.
Maybe a screen shot of the skill page from your data base would help identify the problem.

EDIT

ninja'd by your latest post - if you copy/pasted the skill across then the problem cannot be there.  If you re-created it from scratch, then compare every element of the 2 to make sure you didn't change something.
Try making other magics will simple damage calculations (such as 'a.mat', 'a.mat + 30', and '5000') and see what happens.  This will help you narrow it down.
Well, I don't know where the problem is.

Maybe I messed up something in the script base.

I'm going to transfer all in a new project, it's the easier way.

Thanks for your help.
I recently had a similar issue caused by using third party scripts, that might be the cause.
I'm going to transfer all in a new project, it's the easier way.
If you're transferring everything, then you might also transfer the bug - if it's caused by a reproducable cause and not just because you don't remember messing with some scripts.
In that case you'll have to search for the real cause.
Yeah, don't.


Copy away your Scripts.rvdata2 file, and then paste in the one from the new project. Play and see if the bug is still there. If it's not, then it's a script at fault.

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-a-formula.45758/