Not sure exactly how to word that. I'm not looking for a 'scan' skill that shows an enemy's stats or anything like that, I want to make a skill that gives you a description of the enemy, like "That's a Goblin. They attack travelers in forests. Their favorite food is hamburgers." That kind of thing.
I know I can use the damage formula box to do this. The absolute most basic way to do what I want to do would be to use an if statement to show a different message to the player based on the ID of the target, so I tried this:
if (b.id == 4) {$gameMessage.add("Test message.")}
But it didn't work. If I remove the if, I get the message, so is b.id not the right syntax? Or am I doing something else wrong? Alternatively, if there's a less clunky way to go about doing this, that would be greatly appreciated.
I know I can use the damage formula box to do this. The absolute most basic way to do what I want to do would be to use an if statement to show a different message to the player based on the ID of the target, so I tried this:
if (b.id == 4) {$gameMessage.add("Test message.")}
But it didn't work. If I remove the if, I get the message, so is b.id not the right syntax? Or am I doing something else wrong? Alternatively, if there's a less clunky way to go about doing this, that would be greatly appreciated.