Skills Activating Other Skills?

So I had an idea that one of my skills could have a random chance to proc a different one. I was curious if it was actually possible to do so, and how difficult it would be to implement.


If there's a guide out there for this I would greatly appreciate a link to it.


For reference I'll just paste the description I made for it to give a better understanding of what I mean.

The ultimate One-Handed technique.


Simultaneously slash from four directions. Has a chance to trigger Meteor Drive.





Oh, I should mention that when I googled it, I found an article from yanfly but it was really old. I assumed since it wasn't on the current yanfly site it wasn't supported anymore in MV.
Link the first skill to a Common Event that forces an action (the skill that needs to be triggered after using the first skill).
Oh I haven't done anything with common events yet. thanks, I'll look up how they work.
One problem you might encounter though is how to make your forced action target the same enemy, in which you can do like use a set variable in the damage formula and such.. Yanfly had a follow-up skill script on Ace but I'm not sure if he has one for MV so I suggest you look up his plug-ins
Ok so I checked out common events and if I understand this correctly, I just set the first skill to call a common event when used. That was easy enough.


Now, this is my first common event as well as my first real rpg maker experience. When I do anything randomly, how do I actually tell the game that?


Right now my common event is looking pretty sad. I dug through the menus and found something called Variable, but not sure that's what I'm actually looking for.


This is my Common event so far.

Spoiler
17GbtTv.png



EDIT: Oh a post while I was typing and stuff. When you mentioned yanfly was this the plugin you meant? This was the one I mentioned in my OP and wasn't sure if it was applicable. I thought only MV plugins worked on MV. I can still give it a shot though. I'm just afraid of using plugins now because of a youtube tutorial I watched that said it can cause problems using incompatible stuff.


Also, in my common event I set it to target "last target". Does that not mean it would target whoever was hit last?
To make it random, you need to make a Control Variable command, then set it to random between two numbers (for example, between 1 to 4).


Then create a Conditional Branch based on the Variable used for the random number, and select the condition on which it should do something. If using the example above, making the Conditional Branch trigger when variable is set to 1, means that there is a 25% chance of it triggering. Inside the Conditional Branch, you put the forced action that uses the second skill.
To make it random, you need to make a Control Variable command, then set it to random between two numbers (for example, between 1 to 4).


Then create a Conditional Branch based on the Variable used for the random number, and select the condition on which it should do something. If using the example above, making the Conditional Branch trigger when variable is set to 1, means that there is a 25% chance of it triggering. Inside the Conditional Branch, you put the forced action that uses the second skill.

Ok so after tinkering around, this is what that should look like, yes? I told the skill to call up common event Horizontal Meteor.


and this is the actual common event I made for it. Is it this simple or am I missing a step?

Spoiler
oWids9M.png
@Necro, yeah, that should make it work with a 25% chance of success. You can remove the Else Branch if you're not going to use it (it doesn't matter whether or not it's there, but it makes it look cleaner).
Awesome it works. Thanks a lot you were super helpful.


I learned how to make a lot of random stuff and just use common events in general so you were great. thanks again.
@Necro...


Well done on getting it to work; you'd benefit from working through a few Tutorials on Variables, Switches, Events and all. Just sayin'.
@Necro...


Well done on getting it to work; you'd benefit from working through a few Tutorials on Variables, Switches, Events and all. Just sayin'.

Yeah I've been dipping my toe. I may upload my finished product that should be done soon just so yall tell me how awful my scripting is haha.


I've been trying to just shove as much learning into this as possible. Right now I'm on the twenty day thing because I'm a broke, sad man. I'd love to buy RPGM MV but it's a huge price tag for me. Maybe my sob story will turn a rich entrepreneur my way. 😛


Either way I'll make it happen lol. thanks though for the heads up.
I've been trying to just shove as much learning into this as possible. Right now I'm on the twenty day thing because I'm a broke, sad man. I'd love to buy RPGM MV but it's a huge price tag for me. Maybe my sob story will turn a rich entrepreneur my way. 😛



The program gets frequently discounted on Steam. Should be able to get it a lot cheaper during the Christmas sale.

Original thread: https://forums.rpgmakerweb.com/threads/skills-activating-other-skills.70397/