MZ Applying Anti-Damage Barriers (VisuStella) Passively

Hi

I am starting on my project and have hit a snag. The nullification barrier from the mentioned plugin works well as one of my game mechanics; however, it is stated in the documentation that it cannot be applied passively. The issue here is, it wastes a turn for both the player and the enemy as a result.

Again, I figured passively applying it would be great but it would appear as though it cannot be done due to complications. Can anyone here think of a method to bypass this or another way to do it? Just to be clear, the basic version of my combat system is as follows:

Melee has a 50% chance to not be hit by ranged.
Ranged can hit multiple times per attack (basically bypassing the barrier)
Spell produces a barrier protecting it from 2 melee attacks.

This base idea really requires the barrier to work. I did think about making a State that only impacted the damage of Melee attacks; however, I can't find a command to do just that.

Regards,
Mike
Greetings,

You can indeed apply a nullification barrier from VS Anti-damage Barriers passively!

The way that I handle this is by first creating a passive state that can look sort of like the following:

<JS Pre-Start Battle>
this.addState(84)
</JS Pre-Start Battle>

Attach this passive state to a piece of equipment, or an actor, or whatever, and as a battle is booting up, it will apply State 84 to the battler. Then just make State 84 your nullification barrier 🙂.

You can use this technique in a variety of different ways, using other JS notetags or placing it in other sections of your database, to apply your nullification barrier state 🙂.

Hope this helps!

PS: From the description of your skill though, it doesn't sound like you need a passive state. Just apply the state creating the nullification barrier as an effect of your spell 🙂.

-Niniann
Greetings,

You can indeed apply a nullification barrier from VS Anti-damage Barriers passively!

The way that I handle this is by first creating a passive state that can look sort of like the following:

<JS Pre-Start Battle>
this.addState(84)
</JS Pre-Start Battle>

Attach this passive state to a piece of equipment, or an actor, or whatever, and as a battle is booting up, it will apply State 84 to the battler. Then just make State 84 your nullification barrier 🙂.

You can use this technique in a variety of different ways, using other JS notetags or placing it in other sections of your database, to apply your nullification barrier state 🙂.

Hope this helps!

PS: From the description of your skill though, it doesn't sound like you need a passive state. Just apply the state creating the nullification barrier as an effect of your spell 🙂.

-Niniann

Hi Niniann

Thank you for the response, I do actually need your suggestion oddly enough. I use the word Spell loosely in my game as it refers to a single method of a traditional "Attack" as opposed an actual Skill. So I needed it to apply without costing action economy. It is also a one time battle bonus so attaching it to any skill would bypass this.

At the moment, I managed to do it using a common event; however, you method appears much more elegant!

Thank you very much for your help!

Regards,
Mike
Glad to have helped 🙂

Best of luck out there! Crush it!
This thread was moved from RPG Maker MZ Support to JavaScript/Plugin Support.

Original thread: https://forums.rpgmakerweb.com/threads/applying-anti-damage-barriers-visustella-passively.175721/