Tick Based Regen issue

Hi,

I have some issues about this mod.

Previous closed topic :
https://forums.rpgmakerweb.com/inde...eration-at-start-of-turn.106128/#post-1014629

The issue :

Ihave the 3 plugin's needed : Battle Engine Core, Buffs & States Core, and Tick Based Regen.
I created a spell which should heal a character every turn, but this doesnt work.

I tried :

Code:
<Custom Turn Start Effect>
user.gainHp(1);
</Custom Turn Start Effect>

Code:
<Custom Turn Start Effect>
a.gainhp(1);
</Custom Turn Start Effect>

Code:
<Custom Turn Start Effect>
Regenerate HP 1
</Custom Turn Start Effect>

Code:
<Custom Turn Start Effect>
RegenerateHP 1
</Custom Turn Start Effect>

I did read the official Wiki, but nothing helped me on this point 😮 .

I think it's my spell which have an issue, it just says : "add buff << HP max for X turns >>", and nothing more (I tried by putting a "Regenerate HP 1" but still doesnt work).

Any idea ?

[By the way, I cant change the number of turn, the soft "doesnt answer when I try to change it", then I need to hard quit it >< ... Any idea why this soft is so sensitive ?]
did you try to make a passive buff/skill that apply during battle and removed outside battle?
You mean a "state" ? Hmmmm I read about this "concept", but the wiki is empty about it 😮
I mean state, but its a clever way around though which should work,
there might be other ways as well, but javascript isn't my strong suit, specially not with those plugins.

but there are ppl that know those plugins very well that can help you on your way. But a state is maybe easier?
but idk if its more usefull though.
Indeed, states are more easy to create buff, I tried and it works a bit better.

Now, I'm having an issue about the value of the "tick".

The wiki doesnt speak about the command ".gain".

It seems it asks for a "fonction", but not a "formula".

For example :

Code:
user.gainhp(10)

Works

Code:
user.gainhp(user.maxhp/10)

or

Code:
user.gainhp(a.maxhp/10)

Doesnt work.

---

EDIT : I think I found, it seems the mod doesnt use the regular terms which are "maxhp" for example, but "mhp", am I right ?
It seems it works fine.

Thank you for your help.

I will contact a moderator to close the thread 😉 !

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/tick-based-regen-issue.114963/