- Joined
- Oct 4, 2015
- Messages
- 113
- Reaction score
- 31
- First Language
- Chinese
- Primarily Uses
I am trying to do the healing link as shown in this youtube
<Custom Respond Effect>
if (value<0){
if ($gameParty._battleMembers.contains(1)) {
if ($gameActors.actor(1).isAlive()){
if (paramId == 0){ //hoping to find if it is HP heal
$gameActors.actor(1).gainHp(-value);
$gameActors.actor(1).startDamagePopup();
$gameActors.actor(1).clearResult();
}
}
}
}
</Custom Respond Effect>
Because the only thing I am handling is the "value", it does not know if it is HP heal or MP heal. So if I use MP heal it will still heal the actor's HP by the same value.
I tried to use paramId but it is not a defined variable I can call in the note tag.
Does anyone know what can be called to check the type of damage/heal in the notetag? Thanks.
One alternative way to fix this is to perform the MP heals with effect instead of damage formula. The effect steps won't go through the buff&states calculation and there will be no effect. But it will be not as flexible if there is a way to call and identify the type of damage directly in notetag.
<Custom Respond Effect>
if (value<0){
if ($gameParty._battleMembers.contains(1)) {
if ($gameActors.actor(1).isAlive()){
if (paramId == 0){ //hoping to find if it is HP heal
$gameActors.actor(1).gainHp(-value);
$gameActors.actor(1).startDamagePopup();
$gameActors.actor(1).clearResult();
}
}
}
}
</Custom Respond Effect>
Because the only thing I am handling is the "value", it does not know if it is HP heal or MP heal. So if I use MP heal it will still heal the actor's HP by the same value.
I tried to use paramId but it is not a defined variable I can call in the note tag.
Does anyone know what can be called to check the type of damage/heal in the notetag? Thanks.
One alternative way to fix this is to perform the MP heals with effect instead of damage formula. The effect steps won't go through the buff&states calculation and there will be no effect. But it will be not as flexible if there is a way to call and identify the type of damage directly in notetag.
Last edited by a moderator:
