An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Dark Plasma Surprise Control With Symbol Encounter - DarkPlasma_SurpriseControlWithSymbolEncounter.js

Plugin desc : Control preemptive and surprise attacks in symbol encounters

License : MIT License

Author : DarkPlasma

Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_SurpriseControlWithSymbolEncounter.js

Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release

Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_SurpriseControlWithSymbolEncounter.js

File name : DarkPlasma_SurpriseControlWithSymbolEncounter.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Control preemptive and surprise attacks in symbol encounters
@author DarkPlasma
@license MIT

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----

version: 2.0.0
Controls preemptive and surprise attacks in the symbol encounter system.

For enemy symbol events,
set the notetag specified in the plugin parameters.
Example: <se>

If a battle is processed during the execution of the target event,
preemptive or surprise attacks will occur depending on the player and the
event's orientation.

This plugin requires the following plugin:
DarkPlasma_SurpriseControlWithEventBattle version: 1.0.0

@param preemptiveRate
@text Preemptive attack rate (%)
@desc Preemptive attack rate when behind enemy (%)
@type number
@default 100

@param surpriseRate
@text Surprise attack rate (%)
@desc Surprise attack rate when caught from behind (%)
@type number
@default 100

@param symbolTags
@text Symbol Notetag
@desc Events with any of the notetags in this parameter will be considered enemy symbols.
@type string[]
@default ["se"]

@param surpriseOnlyBackAttack
@text Preemptive strikes and surprise attacks with only contact from behind
@desc Only contact from behind will result in a preemptive or surprise attack.
@type boolean
@default false

@param surpriseOnlySymbol
@text Symbol only Preemptive/Surprise attack
@desc Preemptive and surprise attacks only occur in battles with symbol memo tags.
@type boolean
@default false

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.