Delayed Heal (MV)

IRONNIC

Veteran
Veteran
Joined
Dec 24, 2017
Messages
30
Reaction score
2
First Language
French
Primarily Uses
RMMV
I try to make a healing spell that delayed to the the next turn similar to the Wish skill in Pokemon.
I found a way to do it with a state that give hp regen 50% for 1 turn... But I was wondering
if we can delayed a normal heal to the next turn with a formula base on the user mdf stats instead.
 

Leon Kennedy

Restaff Novice
Restaff
Joined
Aug 14, 2016
Messages
613
Reaction score
470
First Language
english
Primarily Uses
RMMV
Not very good with formulas however this could be achieved using this
http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/

It's a plugin that you can create custom buffs. So I believe if you treated the heal as a "buff" you could configure it to do nothing one turn then heal the next turn or whatever amount of turns later. There is also a video to help via that link.
 

JamesRyan

Game Designer
Veteran
Joined
Sep 13, 2014
Messages
696
Reaction score
215
First Language
Vietnamese
Primarily Uses
RMMV
Like @Leon Kennedy said above, you can use Yanfly's Buffs & States Core to create such state. And here is a small tutorial to delay healing effects (also damage). You can take a look and try to modify it as you wish:
 

IRONNIC

Veteran
Veteran
Joined
Dec 24, 2017
Messages
30
Reaction score
2
First Language
French
Primarily Uses
RMMV
yeah the solution must be a formula in the state buff core plugin. But I cant figure out the formula for stocking a heal based on the user mdf
to the next turn yet. The false promise video do have something similar but thats not exactly what I need.
 

Zarsla

Veteran
Veteran
Joined
Jan 23, 2015
Messages
710
Reaction score
228
First Language
English
Primarily Uses
@IRONNIC
That's actually pretty easy here's how to do it. Make Sure you have Buff States Core. Set the state turn count to the amount of turns you want it to last. And make sure the skill adds the state. Ie makje sure delayed heal last 1 or 2 turns and is apply to the target using this skill. As well as have this noteteg in it.

<Reapply Ignore Turns>

<Custom Remove Effect>
var formula = origin._mdf * 0.5;
target._gainHp(formula);
</Custom Remove Effect>
 

IRONNIC

Veteran
Veteran
Joined
Dec 24, 2017
Messages
30
Reaction score
2
First Language
French
Primarily Uses
RMMV
Ty for your help ! But something is not working , I always get this error screen. I dont know why...
 

Attachments

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

Latest Threads

Latest Posts

Latest Profile Posts

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.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top