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".