Skills and variables.

I have a piece of equipment that invokes a skill.
The skill itself is a switch.
When the skill is activated, it will unequip the piece of equipment and remove it from inventory (destroying it)
(since skill can't activate a switch and a skill at the same time)
I need to use the basic formula to figure out the damage and how to program that part. I'm having a hard time figuring it out. Basically, trying to have a skill and a switch combo.
I wanted to figure it out so that I can have stat boost when I don't use the skill.
Skills can activate a switch, with a little detour.

You could use javascript in the battle damage formula if you know javascript, but otherwise you can make the skill trigger a common event.

Make the equipment give you all those boosts, like normal equipment, and make the equipment add a skill (in the traits of the equipment).

Make the common event triggered by this skill turn a switch on or off, and then remove the equipment for you. Removing the equipment also removes the skill and the boost that are linked to it.
Skills can activate a switch, with a little detour.

You could use javascript in the battle damage formula if you know javascript, but otherwise you can make the skill trigger a common event.

Make the equipment give you all those boosts, like normal equipment, and make the equipment add a skill (in the traits of the equipment).

Make the common event triggered by this skill turn a switch on or off, and then remove the equipment for you. Removing the equipment also removes the skill and the boost that are linked to it.
This is the RM2K section, JS is not yet supported.
This is the RM2K section, JS is not yet supported.
And, in fact, no scripting - RGSS wasn't integrated until XP.

So the OP is limited to the options visible in the editor.
This is the RM2K section, JS is not yet supported.
Oh... Oops. In my defense, that is really unclear. The forum could be more up-front to make a difference between the makers.
@xclnth Unfortunately, it is not possible to apply this even in Rm2k3.
To make such an effect you would need to create the event within the enemy troop, the problem is that you will have to do this in all the troops if it is not for a specific fight like a boss.
1728022919631.png


Oh... Oops. In my defense, that is really unclear. The forum could be more up-front to make a difference between the makers.
We actually tried to guide ourselves by the boards description, maybe this will help:
1728023017936.png
We actually tried to guide ourselves by the boards description, maybe this will help:
View attachment 319496
Haha. That wasn't meant as a sneer to the forum admins, though.

I just mean, when you open the most recent posts, you do not clearly see which maker it is about, unless you pay specific attention to the path. So that is why I didn't notice it was 2k. It was more an excuse than a complaint. 😛

Original thread: https://forums.rpgmakerweb.com/threads/skills-and-variables.172309/