Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
534
Reaction score
339
First Language
English
Primarily Uses
RMMZ
In regards to Recovery Rate & Pharmacology, do these effects apply to the target if they have it or do they apply if the user has them? Say I have a White Mage with Recovery Rate at 200% & they heal someone else. Does the Recovery Rate bonus boost their healing to whoever or only if the target has it?
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,824
Reaction score
1,881
First Language
Spanish
Primarily Uses
RMVXA
recovery is for self-healing.
if you have a mage with 200% recovery, *they* will heal twice as fast if and when a heal effect is applied to them.
 

Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
534
Reaction score
339
First Language
English
Primarily Uses
RMMZ
Ok, good to know. Now this begs a new question. If I made a skill that not only heals HP to the target, but also applies a state that boosts their Recovery Rate, which one happens first? Does the state apply first then boosts the healing or would the healing happen first then apply the state afterwards?
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,824
Reaction score
1,881
First Language
Spanish
Primarily Uses
RMVXA
by default, the state can only be applied after the heal, because it must be applied through skill after-effects.
unless you code the damage formula to make it happen backwards, which is not standard procedure.
 

Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
534
Reaction score
339
First Language
English
Primarily Uses
RMMZ
Well to hell with standard procedure, having the state applied first is way more useful. Do you know the damage formula specifics to do that?
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,824
Reaction score
1,881
First Language
Spanish
Primarily Uses
RMVXA
Code:
b.addState(id);

?
if it doesn't work alone, add 'return 0;' at the end.
 

Frostorm

[]D[][]V[][]D
Veteran
Joined
Feb 22, 2016
Messages
2,788
Reaction score
2,222
First Language
English
Primarily Uses
RMMV
This is why you shouldn't put mechanics/effects in the damage formula:
(but it's honestly not a big deal)

I would suggest using the MZ equivalent of <Before Eval> or <Pre-Damage Eval> if possible. Which would be from YEP_SkillCore.js in MV, so w/e the MZ version of that is.
 
Last edited:

Latest Threads

Latest Profile Posts

ScreenShot_8_7_2022_0_23_50.png
Unleash the hype beam...
hjyI4gQ.png


Made an attachment for the HUD that I can control the visibility of with switches. This tracks the current amount of items needed to finish a quest. Once you meet the requisite, it turns into "complete" because I figured it would be a good way to tell the player they're done. Also it stops numbers from going off of the UI.

Tortoise attacks black shoes. Hope everyone is doing well. :)
Banging my head on a wall balancing.
Game Making Every Day #13 :kaosalute:

Forum statistics

Threads
124,312
Messages
1,162,707
Members
163,114
Latest member
pinomedio
Top