Hello! I was wondering if anyone knew how to do something like this:
During battle, you use an attack called "minelayer", this will make it so when enemies attack you, they take damage by setting off the mines.
I personally have no idea how to get this set up, and I'd like some assistance with this.
If you have Yanfly's Counter Control (or any other plugin that modifies counters) you can set a state onto whoever you'd like, and make that state trigger your mine skill as the counterattack. Try that and see if it works!
Thank you so much, Victor's plugin works like a charm! This does exactly what I needed it to do!
After a lot of testing, and a lot of issues, I have located an issue. I cannot seem to delete the mine status after it blows up. Anyone got any ideas or tips?
You mean the state won't expire?
Hm.
Unless you have any kind of skill effects plugin, you could probably just attach a common event to the skill you're using as a counter, and force it to remove that state from whoever is casting it.
I think you can do all this without a plugin.
You just need to create a event with some variables calculations
Lets say you create a variable with the HP of your actor and if you use the skill and the HP go down your foe receive damage
If you do not want to lose HP you can do it too with the variable calculation.
Exemple: variable hp = actor1 hp
If variable HP < is less than normal
If skill mine
Then the foe lose hp
end if
I dont know if you need to create a variable for the foe or you can manipulate it with the options the software already gives you
You can use too
If the foe use normal attack he will receive damage.
That means only when he use normal attacks will receive damage because he need to stay close to your party
But when the foe use magic will not.
The rest are visuals
Tip: Better to create that at coomon events
I dont like to use plugins because wierd stuff happens when we are testing and rpg maker its powerfull enough to create games without any code.