Hello Guys,
I´m new to RPG Maker, I downloaded the YEP plugins and I'm trying to tweak the following trick:
www.yanfly.moe
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´m new to RPG Maker, I downloaded the YEP plugins and I'm trying to tweak the following trick:
Judgment (MV Plugin Tips & Tricks) - Yanfly.moe Wiki
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!