Changing a skill user's MP

Ravenith

Veteran
Veteran
Joined
Mar 27, 2012
Messages
263
Reaction score
15
First Language
Greek
Primarily Uses
Hey, I'd like a quick heads up on this.

I'd like to create skills that - in addition to their normal effects and targets - restore the use's MP. For example, I'd like to have the default "Attack" skill also restore 20 MP to the user.

Thanks in advance! :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
you can add almost any effect by placing additional commands into the damage formula, where a stands for the user and b for the target.

a.mp += 20; a.atk * 4 - b.def * 2will add 20 points to the skill user's MP before dealing regular damage to the target.

search for damage formulae in this forum, there is a long topic of different commands and effects available to use in the damage formula field
 

Ravenith

Veteran
Veteran
Joined
Mar 27, 2012
Messages
263
Reaction score
15
First Language
Greek
Primarily Uses
I hadn't realised there was such flexibility in damage formulae. Thanks, I'll certainly look it up!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top