Setting damage formula so that enemy stats are relative to actor stats.

Raikiri91

Villager
Member
Joined
Aug 30, 2014
Messages
23
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Not sure how to do this. I am not very good with scripting or even locating scripts, but I am trying to do something like;

Enemy1

HP == 10% actor HP
MP == 5% actor MP
ATK == 20% actor ATK
etc.

What would be the most efficient way to do this so that I can set different percentiles for different enemies?
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
I'd say you need a script for that no matter how I look at it. You could achieve it using events for hp and/or mp since you can just set them to be equal to a certain value. Every other stat can only be increased using buffs or states, that makes it very hard without a script.

If you don't want to use a script you could just achieve that using damage formulae but you need to create many different formulae. Even if you wanna go this way I'd say a script is the best way to achieve something like this.
 

Raikiri91

Villager
Member
Joined
Aug 30, 2014
Messages
23
Reaction score
0
First Language
English
Primarily Uses
RMVXA
I am just not that familiar with scripting yet. are there any tutorials for scripting damage formulae that may be useful in this endeavor?
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
Here you can find one by Fomar. It pretty much covers everything you need to properly set up your formulae. As I said you need a lot of them.

EDIT: Fixed the mesage because I forgot to add the link to it. Sorry for this.
 
Last edited:

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
Thanks @Kes for the link, that's exactly the thread I was thinking of...for some reason I forgot to add the link to my previous message >.<

I feel quite dumb now.

@Raikiri91 however like I stated in my 1st answer (and like Kes said too) using a script would be a better idea. Doing it only with formulae is quite complicated...not impossible but very complicated and very annoying too.
 
Last edited:

Raikiri91

Villager
Member
Joined
Aug 30, 2014
Messages
23
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Thank you both for your responses> I am curently looking into how to incorporate this into a script.
 

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,083
Members
137,583
Latest member
write2dgray
Top