FF9 like paramaters and combact system help please i'm going creazy

Code:
(13-mdf)*[mat+((a.level+mat) / 8) + 1]
Don't use square brackets [ ], use parentheses ( ).

Code:
1 + [2 + 3] # wrong
is not the same as

Code:
1 + (2 + 3) # right
Maybe in mathematics, it's all the same, but in RM formulas they mean specific things.
[IMG]http://imageshack.com/a/img833/8514/qqzf.jpg[/IMG]

Still nothing sorry
Add this script to your project and try your skill again.

It should give an error message, assuming your formula is wrong. Post the error message.

Code:
module RPG  class UsableItem::Damage    def eval(a, b, v)      [Kernel.eval(@formula), 0].max * sign# rescue 0    end  endend
No, no errors, i just still received the null damage
No, no errors, i just still received the null damage
Then give us the numbers used by enemy and target.

For example, this could happen if b.mdf is 13 or larger
Thank's God, finally i thought i set the magic defense at 0 but I probably forgot to save, now i checked again and it was 16, I'm feeling dump, sorry for this waste of time!

Original thread: https://forums.rpgmakerweb.com/threads/ff9-like-paramaters-and-combact-system-help-please-im-going-creazy.20762/