How to check equip slot from the item's notetag

Vanya

Villager
Member
Joined
Feb 17, 2018
Messages
19
Reaction score
3
First Language
English
Primarily Uses
RMMV
Hi all.
I have a very specific request.
I'm using Yanfly's equip core to add some extra duplicate equipment slots that allow my actors to hold extra equipment.
However, I'm looking for a way to make it so that these extra slots ignore the equipment's parameters, but not their traits.

The reason for this is that I have some equipment that allows the use of free spells, but I don't want the extras to affect attack, defense, etc. while being held. Basically it would be like having extra wands that you carry around in a pouch. So they need to be equipped for the purposes of the trait that grants the skill, but otherwise act like they are not equipped.

Thanks in advance for any help.

EDIT:
Searching around some more it seems what I really need is a way to have the equipment params be dynamic.
Make them zero out if the equipment is held in a specific slot.

Since I'm using ICF-Soft params core for custom params, I can add javascript tags to my equipment.

So what I need is something like this:

<CUSTOM NPARAM>
if ( iAmEquipedInSlot5 ) //this is what I have no idea how to do.
{ atk = 0;
}
else
{ atk = 5;
};
</CUSTOM NPARAM>

How can I check if the piece of equipment itself is in a specific slot?
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top