The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: PhoenixKingAnsem on December 28, 2012, 07:57:52 PM

Title: [VXA] Need a Preemptive Strike script
Post by: PhoenixKingAnsem on December 28, 2012, 07:57:52 PM
So the title says it. In RPG Maker 2k3 you had the ability to have a battle start with a preemptive strike. VX and VX Ace do not have this ability. So what I want is the ability to have a battle start with a preemptive strike based on a condition, In this case the baddies are roaming on the map and if I walk into them a normal battle starts, what I want to happen is when I press A on them it starts the fight with either the enemy taking 20% damage or skipping one turn. Either of those would be fine. I would prefer the turn skip option but whatever. I have looked for a way to do this and couldn't find one :(

Thanks
    ~Ansem
Title: Re: [VXA] Need a Preemptive Strike script
Post by: modern algebra on December 29, 2012, 04:49:26 PM
Well, pre-emptive strikes and surprise attacks are still possible in VX and VXA; they are just random - if the party's agility is greater than the enemy's then there is a 5% chance and 3% otherwise.

I take it that you want the ability to specify that there should be a pre-emptive strike prior to a battle processing event. I can do that.


EDIT::

Alright, I wrote the script, and have posted it here: http://rmrk.net/index.php/topic,47440.msg539128.html#msg539128

Please let me know if you are happy with it.
Title: Re: [VXA] Need a Preemptive Strike script
Post by: PhoenixKingAnsem on December 29, 2012, 08:28:19 PM
Thanks Modern Algebra! This is exactly what I wanted and it works brilliantly. Again thank you so much!