- Joined
- Oct 2, 2016
- Messages
- 18
- Reaction score
- 6
- First Language
- Portuguese
- Primarily Uses
- RMMV
Morning, Night or Evening to all of you!
Well, I was trying to do this script thing and I have a problem here.
$gameActors.actor(1).gainHp(0.04*(m.mhp));
So I want this script call to heal my actor for 4% of his HP when the script is active. Sadly this doesn't happen
when I use this command, but it happens if I use number values instead, just like this:
$gameActors.actor(1).gainHp(100);
What did I do wrong?
Well, I was trying to do this script thing and I have a problem here.
$gameActors.actor(1).gainHp(0.04*(m.mhp));
So I want this script call to heal my actor for 4% of his HP when the script is active. Sadly this doesn't happen
when I use this command, but it happens if I use number values instead, just like this:
$gameActors.actor(1).gainHp(100);
What did I do wrong?



