Playing around with a short cheesy game, and of course, I feel the need to overcomplicate things which has piqued my interest. I have a skill that deals no damage, but has a variety of effects based on which type of enemy it hits.
I'm having it call a CE to resolve, but I realize that I don't have a way to specify the effect based on the type of enemy hit. I'd want it to do something where...if a Bird was targeted, let's say, it wouldn't be airborne and could thus be hit by Earth Elemental attacks for a round or two. Or if used on a Lava type, it would get doused which would increase its defense, but lower its speed, etc etc. It's purely a situational-based skill, I would just need it to 'know' what type of enemy it's targeting.
As a work around, as per the title, if I were able to set the Enemy's ID based on it being targeted into a variable, I could make it work that way as well.
Thanks!