I'm sorry to bother you but I could use a little help.
Right now I have my attack command set to change at lvl 26 using this script.
<Custom Replace Attack>
if (user.level > 25) {
id = 18;
} else {
id = 0;
}
</Custom Replace Attack>
I would to have it to where the attack command would change under 2 additional requirements.
At Level 38 I would like for it to be able to use skill ID 22 but only when the actor hp is 25% or below.
Using the script you help with earlier I wrote something like this
<Custom Replace Attack>
if (user.hp <= user.mhp * 0.25)(user.level > 37) {
id = 22;
} else {
if (user.level > 25) {
id = 18;
} else {
id = 0;
}
</Custom Replace Attack>
But as i'm sure you can tell that didn't work.
Any chance you could help me out with this?