I basically want to make an item that fully restores the HP of character a, but only heal few hp for anybody else.
more or less like "favorite food" item that is mentioned in this thread:
https://forums.rpgmakerweb.com/index.php?threads/how-to-make-the-most-of-custom-formulae-part-1.1143
which mentions the formula:
So in that formula, if the item is used on character with id 1, then that character will be healed for 500 HP, while the item will only heal 100 HP to everybody else.
But the tips in that thread is for VX Ace only, and when I tried it on MV it causes error, so I'd appreciate it if someone can help me translate the formula for MV.
Thank you very much 🙂
more or less like "favorite food" item that is mentioned in this thread:
https://forums.rpgmakerweb.com/index.php?threads/how-to-make-the-most-of-custom-formulae-part-1.1143
which mentions the formula:
Code:
if b.id == 1; 500; else; 100; end;
So in that formula, if the item is used on character with id 1, then that character will be healed for 500 HP, while the item will only heal 100 HP to everybody else.
But the tips in that thread is for VX Ace only, and when I tried it on MV it causes error, so I'd appreciate it if someone can help me translate the formula for MV.
Thank you very much 🙂