Help with Elemental Skill Change based on Equipment Condition - YEP

Hello Guys,

I´m new to RPG Maker, I downloaded the YEP plugins and I'm trying to tweak the following trick:

So far I am able to replicate the "Elemental Strike" move in the video, were the skill changes its elemental properties based on the equipped weapon, but I want to take it a step further for my game and change the skill elemental properties based on the attachable augment of the equipped armor.

Context: In my game, the user can attach augments to its clothing or armor (I´m using YEP's attachable augments), and depending on the attached augment in the equipped armor, the element of the skill changes. That means that if the user has a fire augment attached to its ARMOR (not the weapon), then the SKILL type will become a FIRE skill, and play the fire animation (this can be done with the judgment trick above).

The correct conditioning for weapons as stated in the video above is the following:
if user.hasWeapon($dataWeapons[1])
force element: Fire
animation 8: target


But I´m stuck with the condition itself, to check if the equipped armor has an attachable augment or not. I have something like this in mind but I don´t know how to write it properly:

if "user" has "item" equipped in "armor 1"{
force element: Fire
animation 8: target
}

or something like if "user" has "item" equipped{
}

Any ideas or help on how the condition must be formulated? Everything else works fine but I just kind find a reference to the condition anywhere, or if its possible to formulate it with YEPs plugins.

Thanks!

I've moved this thread to Javascript/Plugin Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-elemental-skill-change-based-on-equipment-condition-yep.121606/