KOLINICHU'S PROFILE
Search
[RMXP] Making the "defend" command gain SP back.
Hi everyone, I'm new to RPG making, and I got a very small problem that I can't seem to be able to fix.
I've been trying to make it so, a character using the DEFEND command will gain 10% of his total SP back. I've been editing the Scene_Battle 4 at the appropriate location, but only had error messages.
Here's the line I added right under line 218 and 219:
self.recover_sp += self.maxsp / 10
I'm not even sure if I'm on right path or anything, so any help would be appreciated! :) Thanks in advance.
I've been trying to make it so, a character using the DEFEND command will gain 10% of his total SP back. I've been editing the Scene_Battle 4 at the appropriate location, but only had error messages.
Here's the line I added right under line 218 and 219:
self.recover_sp += self.maxsp / 10
I'm not even sure if I'm on right path or anything, so any help would be appreciated! :) Thanks in advance.
Pages:
1













