How to down HP and MP at the same time?

Status
Not open for further replies.

Urosawa

Villager
Member
Joined
May 25, 2020
Messages
10
Reaction score
1
First Language
Spanish
Primarily Uses
RMMV
First of all, sorry for my bad English.

I am looking for a way for the enemies, with their attacks, to lower the HP and MP at the same time of the characters.

I've tried it with common events, but it doesn't work.

Can anybody help me?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,112
Reaction score
13,614
First Language
English
Primarily Uses
RMVXA
I've done this in my game, though you won't be able to have both be based on a formula. What I did was I set my HP damage to be based on a formula, then in effects for the skill they are using I checked MP recovery and put in a negative number. The negative number will turn into damage of that much MP (or that % of MP if you use the percent option).

You could also reverse that and use MP damage based on a formula and the HP damage based on a negative HP recovery effect.
 

Urosawa

Villager
Member
Joined
May 25, 2020
Messages
10
Reaction score
1
First Language
Spanish
Primarily Uses
RMMV
The solution was simpler than I expected.
Thank you very much for your help!
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,779
Reaction score
8,199
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

The nick "Toeuia" that I'm using comes from a, idk, you okay the chess game while chit chatting them. The first two are students. Then you know, finally, the champion, and then the champion's sensei. I played like this so many times until suddenly there's another chess master. Very naive but super smart. After he lost, he kinda advised me not to give up on chest. Because the next one was never seen beaten. Touya.
I'm currently playing Ara Fell - I can see why it's had generally good reviews. The exploration aspect is pretty strong and the writing is passable.

The game auto-saves and offers an option to turn back just before each major combat, and immediately brings the player back to the last position saved when there's a TPK. Convenient at the very least.
This is Krizzirk Toeuia Aeslan, I'm picking up transmission. Draftwingeds on, duty on, exhaust ready. 310 Immulicationsers approaching. I'll take the cake and----hold it!!! My Cosvere Radar detected 3001 of them!!
11 hours of programming... Only to add two more zoom levels.
Well, that's what happens when you decide between minimap and zoom too late.

It's my cute little ghost~

Forum statistics

Threads
99,374
Messages
964,610
Members
130,989
Latest member
FerdiPanther
Top