I want to make a skill that reacts differently for enemy types. I would also like this to be done within a common event in the skill. Simply having the enemy ID returned in a variable would be perfect for it
How to get the enemy ID of the target enemy in battle?
RPG Maker MZ Support$gameTroop.members()[$gameTemp.lastActionData(5)-1].enemyId()Thanks so much! It works perfectly!
Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-the-enemy-id-of-the-target-enemy-in-battle.177407/