- Joined
- Feb 14, 2022
- Messages
- 9
- Reaction score
- 2
- First Language
- English
- Primarily Uses
- RMMV
@Trihan I wasn't super sure if the && function would be appropriate there and it seems it wasn't. I'm pretty dumb when it comes to math and formulas so, I might add a few pages to this thread as I try to learn how to use this function.Please bear with me
I'm having trouble with another formula right now. I'm trying to nest if conditions but clearly I'm doing something wrong.
What I want this to do is: it checks if the item is being used on actor 1 and if true heals them for 500. If it returns false, then it checks if it's being used on actor 2 in which case it deals 100 damage. If none of those are correct and the item is being used a different character, it heals them for 200.
I'm having trouble with another formula right now. I'm trying to nest if conditions but clearly I'm doing something wrong.
if (b.actorId() === 1) 500; else; if (b.actorId() === 2) 0-100; else 200
What I want this to do is: it checks if the item is being used on actor 1 and if true heals them for 500. If it returns false, then it checks if it's being used on actor 2 in which case it deals 100 damage. If none of those are correct and the item is being used a different character, it heals them for 200.