Okay, I am looking to have a skill similar to Oricorio's Revelation Dance, where the typing of the move depends on the Oricorio form using it. I tried this, but it didn't work.
<JS Pre-Damage>
// If actor ID 1 uses this, change element to 2 (Fire)
if (user.actorId() === 1) {
this.setElement(11);
}
// If actor ID 2 uses this, change element to 3 (Ice)
else if (user.actorId() === 8) {
this.setElement(2);
}
</JS Pre-Damage>
<JS Pre-Damage>
// If actor ID 1 uses this, change element to 2 (Fire)
if (user.actorId() === 1) {
this.setElement(11);
}
// If actor ID 2 uses this, change element to 3 (Ice)
else if (user.actorId() === 8) {
this.setElement(2);
}
</JS Pre-Damage>