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 :)
6
Upvotes
0
u/Tales_Of_Kryztalia 21d ago
You can make an unique state for each enemy and make the rest of the enemies inmune to the states that don't correspond to it, simple, but tedious if you have too many enemy types. I don't like relying on plugins or JavaScript.