BATTLE REACTIONS

RPG Maker VX Ace

Set up battle reactions for all of your objects

This script provides functionality for setting up "battle reactions", which are actions that are automatically invoked in response to certain actions. A reaction is similar to a counter-attack, except instead of responding to any attack, it only responds to specific "reaction triggers" and responds with an appropriate "reaction response".

For example, your actor might have a shield that casts "heal" on the wearer whenever the wearer is targeted by the "attack" skill. The reaction trigger is the "attack" skill, while the reaction response is to cast heal.

You can have multiple reactions occur simultaneously and all of them will be executed.



Download

Get it at Hime Works!

Posts

Pages: 1
Hate to sound like a pain on this, I like the script idea very much, but I'm using Victor's Battle Engie, with the sideview battlers.

And whenever I am about to cast a spell, the thing freezes, any solutions on the script on how to fix that?
I looked into the problem but have not managed to find a solution, but I don't know how his battle system works to have an idea what might be the issue.

I've implemented two new types of reaction triggers:

1. Skill Type Reaction Triggers
2. Element Reaction Triggers

Usage is similar to the skill reactions
 
<stype reaction: stype_id react_id chance forced>
<element reaction: element_id react_id chance forced>
Both reactions respond with skills, so the react_id is the ID of the skill to respond with.
They are self-explanatory: when an attacker uses a skill with the specified skill type or element type, the reaction will respond.
EDIT: Ok, for some reason, the script works perfectly whe I use the old versin from your demo, but not the new one. 0_o Go figure.

If I run into any more trouble, I'll make a new post.
Question.

Is it possible to make reaction skills call a common event?

Because I can't seem to make that happen.

I'm trying to make a skill where, when the enemy is hit by physical damage, they will call the "divide" common event, which spawns a new monster.

The event works when it's called via a skill normally, but not when the skill is a reaction. Why is that?
Oh, and element react is a little bit flawed...

It doesn't react if the skill has "normal attack" as element, even if the normal attack is the element that should cause a reaction... :( Is there a way to fix it?
(start looking into the code to see if he can tweak it...)
Pages: 1