Weapon Skills

In one of my favorite RPG's, Golden Sun, there are weapons that have a random chance of using a skill instead of a normal attack, kind of like activating a crit, but it has effects other than just being more powerful. I want to have weapons like this in my game, but I can't figure out how to do it. Do I need a script for this or is there anyway to do this without one?
Well.. it can be done without script, but won't be easy and probably need you to crack your head and learn a bunch of script calls and damage formula.

The easiest way is to do it using counter, but sadly the game default has counter fixed to the normal damage skill.

You will need a script like this to get that done i guess:

http://forums.rpgmakerweb.com/index.php?/topic/2021-counter-attack-skills/
You will need to use a script for this. Yanfly has a script that does exactly what you need. Unfortunately I'm on my phone so I can't link the page. Just Google Yanfly and his site should pop up. I believe the script is called Skill Invoke or something like that.
Can't remember how those are done in Golden Sun, that game's memory is far far away... lol 😀

Just assuming you meant "during a skill action"/"being attacked".

But if you mean random trigger. I've seen examples done using only common event + troop event.

A conditional branch allows you to check if certain equipment is equipped.

So from there, you can set up your troops event to do a random skill/buff every X turns.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-skills.44936/