I know that something similar to this has been asked before, but after over an hour spent searching I can't find it.
Healing item is set to, say, 100HP. However, for one particular character, and only that character, I want it to heal, say, 150HP.
I know this can be done with the damage formula, but I'm not getting it right. Could anyone tell me what it should be?
Thanks.
try
b.id == 1 ? 150 : 100This will make the formula 150 if used on the actor who's database id is = to 1, or else 100 if anyone else. Obviously replace the 1 with whichever character you want effected.
Edit: Always just a few seconds to slow, why do I even try this knowing the blue squirrel is lying in wait to ninja me?
Blue squirrel is not always there ... even though it often looks like it is 😉
For reasons which are, naturally, totally beyond me, this formula causes an error linked to a script I have which levels up skills depending on how often that skill is used. Perhaps I should have said that this item is something that can only be used out of battle. Does that make a difference?
Nope.
Link to script, exact (and full) text of error message, please.
Going to move to RGSSx Script Support
Are you SURE it's an error with that script? If you disable the script, does it work?
Perfect! Thank you very much.
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.