Formula box skill woes

kaukusaki

Awesome Programmer Extraordinaire
Veteran
Joined
Jun 27, 2013
Messages
707
Reaction score
529
First Language
English
Primarily Uses
RMVXA
Im trying to figure out how to make a mp draining skill heal hp instead by using just the formula box. I'm probably over thinking it and after a week i can't get it working.
Am i overlooking something?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA

I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

kaukusaki

Awesome Programmer Extraordinaire
Veteran
Joined
Jun 27, 2013
Messages
707
Reaction score
529
First Language
English
Primarily Uses
RMVXA
@bgillisp oops! ≥﹏≤
I'm on mobile and it's hard to tell at times.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,367
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
a is the skill user, b is the skill target.
and then just use mp and hp as the attributes.

Example:
Code:
r=4*a.atk-2*b.def; a.hp+=r; r
(this is untested and would have some quirks if the target has less than r MP and so on, but you can take it from there)
 

kaukusaki

Awesome Programmer Extraordinaire
Veteran
Joined
Jun 27, 2013
Messages
707
Reaction score
529
First Language
English
Primarily Uses
RMVXA
@Andar After some tweaking it works how i want. ♡(∩o∩)♡ Thanks!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

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.

Forum statistics

Threads
105,868
Messages
1,017,096
Members
137,587
Latest member
Usagiis
Top