DAMAGE FORMULAS

nobodyreally

Villager
Member
Joined
Dec 2, 2020
Messages
6
Reaction score
2
First Language
english
Primarily Uses
RMMV
Can someone help explain to me why:
a.atk * [1 + [a.luk / 100]]
does not increase attack damage by 1 percent per each point of luck?
 

BK-tdm

Manga Maker
Veteran
Joined
Jun 21, 2018
Messages
210
Reaction score
462
First Language
English
Primarily Uses
RMMV
You're using [ ] 's instead of ( ) 's?
Could be silly but i think the formulas use parenthesis only, i've never tried using brackets on a formula.
 

nobodyreally

Villager
Member
Joined
Dec 2, 2020
Messages
6
Reaction score
2
First Language
english
Primarily Uses
RMMV
haha, thanks guys, i thought you used brackets while inside of parenthesis such as for an if () { } else { } statement but i have no idea why i was using them it works with parenthesis inside the if statement parenthesis
 

Latest Threads

Latest Posts

Latest Profile Posts

I'm moving on from RMXP finally. I've been stuck in a difficult decision between XP and MZ, and I've given up and moved on to MZ. Overall I'm really liking it, I wish tilesets were easier to setup like XP, but it's actually not that bad!
Have you ever gone full 'Ship of Theseus' while frankenspriting? Because I just did.
I saw my new eye doctor today, he reminds me of Satoru Iwata for some reason
I've been using a modified version of a script called Multiple Messages. It makes my text boxes look like a Mario & Luigi game! There is something about it that bothers me a little bit, but I shouldn't worry about that now.

Side note, Mist's walking animation is almost perfectly in sync with Loose Yourself by Eminem.
Starting work on some stuff for the community. Hopefully it will be fun, and useful to somebody.

Forum statistics

Threads
107,773
Messages
1,032,038
Members
139,915
Latest member
nick7626
Top