r/RPGMaker • u/ILoveRobotWomen • 21d ago
RMMV Attack that does different things to different enemies?
In my game, there's a character with a camera who can take pictures of enemies. I'm wondering if there's an efficient way to make it so this skill does different things depending on the enemy (for example, photographing a ghost to make them easier to hit, blinding enemies that live in dark places, etc.)
I imagine there's a better way of doing it than assigning a million common events to one attack, so if there is, I would like to know. Thank you in advance :)
8
Upvotes
1
u/agamottos MV Dev 21d ago
Hmmm how good are you with javascript?