Formula box skill woes

kaukusaki

Awesome Programmer Extraordinaire
Veteran
Joined
Jun 27, 2013
Messages
671
Reaction score
493
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
12,597
Reaction score
12,915
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
671
Reaction score
493
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
29,221
Reaction score
6,766
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
671
Reaction score
493
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

Updated my state Stacker Script on itch.io, github is down for some reason (probs just me).
Wife watching Locke and Key. This show is so bad!! You can't just acclimate to discovering magic or magical worlds in less than 60 seconds.
I think I still prefer RPG Maker over Dreams. Been playing around with it, and the controls are really the biggest flaw for me.
Watching Dragon Quest: Your Story on Netflix and already like 5 mins in we've passed over like 3 hours of gameplay.

Forum statistics

Threads
94,328
Messages
919,952
Members
124,077
Latest member
ArtsyWeasel
Top