Is this possible? Something like:
b.isActor(3)? a.mat*2 : a.mat;
b.isActor(3)? a.mat*2 : a.mat;
We don't have to do this type of check in MZ, since we can use optional chaining:
b.actorId?.() === 3
Because ES one billion!! 🤣
Original thread: https://forums.rpgmakerweb.com/threads/include-in-the-damage-formula-if-the-target-is-a-specific-actor.152076/