So I tried out the last thing and it worked perfectly. It didn't really print out anything. I got an error from community lighting plugin because my color was missing a number, and I got the same error about DevTools failing to load a SourceMap. But it worked perfectly.
Attack Skill That Heals
RPG Maker MZ SupportWooo! Awesome! Well all that really matters is it's working lol
Very glad to hear it's working perfectly now ☺️ 👍
Happy Game Making!

Thanks again for all the help!
I haven't tried it, as I don't really use MZ, but I believe it uses the next version of JavaScript from MV, so you should be able to use the optional chaining operator and just do this:
Or does that still not work in MZ?
Yep that seems to work too
JavaScript:
if ($dataSkills[this._item._itemId]?.meta.attackMotion) r = true;
Original thread: https://forums.rpgmakerweb.com/threads/attack-skill-that-heals.147484/