alternatives to this.isSkill()? yanfly states and such

hello!
i've got a state that checks to see if an action is a skill (yanfly's Organic Deconstruction). i'd like this effect to check if it's a physical attack rather than a skill. is there something like this.isPhysicalSkill() that works like this.isSkill() but checks the 'Hit Type' or 'Element' of the skill?

thanks in advance!
this.hitType === 1
this.hitType === 1

Nice! Thanks a ton. How about for elements? (in case: elements 'melee' and 'ranged,' and i only want to proc on skills marked 'melee')
this.damage.elementId === ID FOR MELEE ELEMENT

Bearing in mind that "none" is index 0 and "normal attack" is -1.
this.damage.elementId === ID FOR MELEE ELEMENT

Bearing in mind that "none" is index 0 and "normal attack" is -1.

you've been extremely helpful, thanks a ton!
Glad to be of service! 😀

Original thread: https://forums.rpgmakerweb.com/threads/alternatives-to-this-isskill-yanfly-states-and-such.75681/