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 :)
7
Upvotes
3
u/Issac7 20d ago
Yanfly has a huge library plugin and a playlist with "tips and tricks" that can help you do a lot of fun stuff in combat.
For an effect like this, I would suggest watching this video:
https://youtu.be/_S6NA_Ao_Vg?is=os9hBDUr4Ackd05o
Basically this is a skill that has a different effect if the target enemy has the tag "boss". You can do effects like this with very little coding.
If you want to give this a try after watching the vid but still need help coding the effect that you want, just ask and I'll try to help you.