Skill to see enemy vulnerabilities.

I want to create a skill that will return some information about an enemy in combat.


At a minimum I would like to show its HP/Max HP and what elements it takes over 100% damage from. 


I am completely clueless of where to start. 
Use a common event.


1-Make the skill apply a custom state and call the common event


2-The common event should check which enemy has the custom state (conditional branches on each enemy)


3-The event then stores the enemy's parameters in variables


4-Show those variables' values with a message command \v[id]
Yanfly has a very comprehensive guide on setting such a skill up, found here: http://yanfly.moe/2015/12/02/tips-tricks-libra/

Original thread: https://forums.rpgmakerweb.com/threads/skill-to-see-enemy-vulnerabilities.60533/