'' scan '' skill?

hello everyone. so i want to make a special skill that displays a text that has the enemy weakness, kinda like the scan command from the persona series, and i was curious if i could do that without the help of commands.
thanks in advance.
I assume you mean plugins, not commands?

yes and no.
theoretically it is possible to do this without plugins, but that is one of the requests where even I suggest plugins as the primary solution as it would be extremely tedious to do this without.

so I strongly suggest you go looking for plugins specifically written for displaying enemy status and stats.
As Andar said, it makes sense to use plugins for this.

Yanfly made a Tip & Trick for implementing Libra, which has an MZ version in Trihan's VisuStella Tips & Tricks thread.
You can insert something like this into the scan skill's damage formula
$gameMessage.add("Analysis:\n"+$dataEnemies[b._enemyId].meta.scan)
You'll want to set the skill to [MP Damage] so it'll use the formula, but not display "0" damage.
You can also add an invisible state to avoid the "no effect" message

Then in the enemy's database notebox you can add the meta data
<scan: Weak to Fire>

If you don't add a <scan> tag then the message will display "undefined".
You can insert something like this into the scan skill's damage formula
$gameMessage.add("Analysis:\n"+$dataEnemies[b._enemyId].meta.scan)
You'll want to set the skill to [MP Damage] so it'll use the formula, but not display "0" damage.
You can also add an invisible state to avoid the "no effect" message

Then in the enemy's database notebox you can add the meta data
<scan: Weak to Fire>

If you don't add a <scan> tag then the message will display "undefined".
Is there a way to add multiple lines to the scan text box?

@KuroOnist, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Please make your own thread if you need help with something.

Original thread: https://forums.rpgmakerweb.com/threads/scan-skill.160198/