Help with Elemental Skill Change based on Equipment Condition - YEP

MorroMH

Warper
Member
Joined
May 16, 2020
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMMV
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!
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,324
Reaction score
4,423
First Language
English
Primarily Uses
RMMV

I've moved this thread to Javascript/Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

The sinking feeling when you realize your grandmother probably isn't long for this world, and the frustration when you know that this pandemic will take her away...not because she has Covid, but because no doctor is willing to see a patient to even run simple diagnostics anymore if one of her symptoms happens to be a recurring fever, even if her primary care physician gives her the test and it comes back negative.
Will be revealing my project to the forum soon.
Ohboi, I'mma learning how to mix/sing better warming up (by singing game songs) for eventually singing my team's game's main theme. (Plus singing for my Patrons XD)
For anyone using my Extended Generator, would you like a discord server where you can exchange ideas, help, suggestions and news about the development ?

Forum statistics

Threads
99,606
Messages
967,233
Members
131,281
Latest member
isabelx10
Top