Hey everyone, I'm having a bit of trouble regarding a skill I want to make for my game. Here's a quick run down of what I want it to do:
This is the damage formula I'm using:
Do keep in mind I'm using Chrono Engine, so the Common Event is called inside the tool event, not in the skill effects tab.
Are there any work arounds to this?
Thank you in advance to anyone who can help me with this! 😂
- Player uses skill Analyze on selected enemy.
- In the damage formula, a variable X is set to be equal to the selected enemy's ID.
- The skill sets off a common event that checks "if variable X = , then give player Skill Y"
- Turn ends
This is the damage formula I'm using:
Code:
$gameVariables.setValue(14, b.enemyId()); console.log("Hitting enemy ID ", $gameVariables.value(14)); a.atk * 4 - b.def * 2
Do keep in mind I'm using Chrono Engine, so the Common Event is called inside the tool event, not in the skill effects tab.
Are there any work arounds to this?
Thank you in advance to anyone who can help me with this! 😂