Hello! so i'm making a skill similar to Tattle/check from paper mario/undertale and i'm using Yanfly enemy levels. So i'm trying to
make it so that when I use the attack it will get the enemy's stats, and apply them to different variables and then text codes will
be used to show the stats. however, whenever I try out the skill i get an error. If anyone could tell me the correct javascript code it would be great! thanks!
Skill (action sequence and javascript code)
Error
Plugin list
make it so that when I use the attack it will get the enemy's stats, and apply them to different variables and then text codes will
be used to show the stats. however, whenever I try out the skill i get an error. If anyone could tell me the correct javascript code it would be great! thanks!
Skill (action sequence and javascript code)
Code:
<Before Eval>
$gameVariables.setValue(6, b.enemyId());
$gameVariables.setValue(12, b.enemyMaxHp());
$gameVariables.setValue(13, b.enemyMmp());
$gameVariables.setValue(14, b.enemyAtk());
$gameVariables.setValue(15, b.enemyDef());
$gameVariables.setValue(16, b.enemyMat());
$gameVariables.setValue(17, b.enemyMdf());
$gameVariables.setValue(18, b.enemyAgi());
$gameVariables.setValue(19, b.enemyLuk());
$gameTemp.reserveCommonEvent(11);
</Before Eval>
<target action>
camera focus: target
zoom: 150%,20
action animation
wait: 60
zoom: 110%, 10
wait: 10
action effect
</target action>
Error
Plugin list