Request, First strike.

I was looking for a plugin to on chance on battle start that a character would blast the enemy with a spell skill or just flat auto attack. When the party is surprised they wouldn't get their first strike chance and when they preemptive strike there is a greater to automatic chance to first strike the enemy.


Basicly it would go like this in my head, Battle start, character gets first strike, runs up, smacks a random enemy, battle starts for real. I was also thinking that this could be used on chance that the character buff them self with a special skill that raises stats for the first turn.


I see a lot of uses for this. I thought it would add a little flare to the start of my battles, i would Also like to give this ability to certain enemies and bosses too. 


I use a lot of yanfly's plug-ins so if this is already possible maybe someone could point me in the right direction.


The plug-in would need to be available for commercial use as my game is going to be sold.
Have you tried to use the default options for this?


Action order depends on agility plus speed plus a random part. After selecting a skill for each actor and enemy, the skill's speed is added to the battler agility, a random variation is added to that total, and then the action order is from highes result to lowest. So a skill with an extremely high speed is usually done first, skills with negative speed later, depending on how high the agility of the battler is to compensate.
Well i was wanting the abilities to go off before the player got to select any actions at all, like before combat really started. like a free hit.


I'm also using yanfly's ATB system so combat doesn't start right off the bat until the ATB bars fill, i probably should have mentioned that sorry. 
Then please give links to the battlescripts you're using.


Yes, it will need a plugin in this case, and that plugin has to be written as an add-on to the ATB system you're using, it won't work otherwise.
Thanks, i will post links to the battle scripts im using when i get back home and look at which ones i have.


**edit** I thought it might be easier to screen shot my plugin list instead.


plugins2.png


plugins.pngcan't find the spoiler button for some reason so sorry if they are just out there.


And here is the link you can use for the plugins http://yanfly.moe/yep/
Thought i'd bump to see how things were going, anyone think this is do-able? Anyone know if anyone has anything in the works along these lines?


Also, looking for something for timed hits, like hit a button at just the right time to do extra damage. like in super mario rpg 7 stars. for the snes.
Try setting a base troop event that occurs on turn 0 that sets a variable to a random number that is then tested as a condition. If true, set an actor to perform an action.
How would this look? i'm not very good with eventing in such a way, but i am learning.
How would this look? i'm not very good with eventing in such a way, but i am learning.

page.png
Ah thank you, would i be able to use this same function to use skills? and i would have to post this in every single troop and for every single character right?


Thats kinda why i was hoping for a plug-in to have a greater controll over this. using note tags on certain skills or perhaps certain weapons would be able to have certain skills tagged to them.


**Edit** that troop note tag was throwing alot of issues inside my game, the way things are set up this solution probably won't work. Thanks for the information though i now have a way to do something else i had in mind.
just checking in to see if anyones heard anything about this. the solution for the troops doesn't quite work for me i need more controll over it.

Original thread: https://forums.rpgmakerweb.com/threads/request-first-strike.60248/