GainMP damage formula question
RPG Maker MV SupportTry
a.mp = a.mp + 20; a.mat * 3 - b.mdf * 2
Does that work?
Also im unsure as to why it doesnt work as is. Not at my computer at the moment sorry.
a.mp = a.mp + 20; a.mat * 3 - b.mdf * 2
Does that work?
Also im unsure as to why it doesnt work as is. Not at my computer at the moment sorry.
I think the P in gainMp(20) should not be capitalized.
@Sekunri That does not work either. It looks like it not connected to the value inside the parameter.
@LadyBaskerville Omg It works like a charm! So it was a Uppercase mistake after all.. Really need to be extra carefully about this formula.
Thank you very much both of you!
@LadyBaskerville Omg It works like a charm! So it was a Uppercase mistake after all.. Really need to be extra carefully about this formula.
Thank you very much both of you!
I wasnt sure about that but seems it was the case.
Javascript is case sensitive so definitely double check that in the future
Javascript is case sensitive so definitely double check that in the future
Original thread: https://forums.rpgmakerweb.com/threads/gainmp-damage-formula-question.73930/
