Possible Script Idea

Not sure if this can be evented or will I need a script. What I am looking for is flagging for monsters. Such as Humanoid, dragon, undead, slime/ooze, and such. So that all monsters of this type have the same or similar characteristic, plus on top of that make skills like turn undead that will only work on appropriately flagged monsters.

I suppose I could set them to the same as elements, for added bonus. then set a variable to determine the flagging of the monster and do a check in a call common event, but was wondering if there is a script already for this or something simpler I am over looking.
You can just set them as elements and make the enemies take 200% damage from attacks of that element, and make the respective skills those elements.
You could do this by a passive state script, where you give all monsters of that type a passive state, and inside that state set all the characteristics you want them to have. Yanfly has a good passive states scripts that will do just this.
http://himeworks.com/2013/03/tag-manager/
Thanks all. Yeah I was looking at Yanfly's passive states which sort of does it but not really, the thing by himeworks is exactly what I was looking for. Thanks =)

Original thread: https://forums.rpgmakerweb.com/threads/possible-script-idea.42930/