じ☆ve冰风 发表于 2026-8-1 10:55:07

Preemptive-Surprise Event Battle

Preemptive-Surprise Event Battle​
Version 1.0.0​
By Jeneeus Guruman​
 ​
Introduction

    This script allows to make evented encounters have preemptive and surprise encounters.

Features


[*]Having the evented encounters to have preemptive and surprise attacks.
[*]Triggering the event enemy at his back will have a guaranteed preemptive attack.
[*]Triggering the event enemy by having it in the character's back will have a guaranteed surprise attack.
[*]Triggering the event through sides will have a chance to have preemptive or surprise attack depending on the facing and position of both the enemy and character.
[*]Can be disabled them completely, exempt some enemies from this function, and set the chance on triggering the event sideways all at your own settings.
[*]All events around are automatically stopped if the events are tagged to have a preemptive and surprise battles while the event is running.

Screenshots

SpoilerWhen attacking behind enemies...



This will happen.



When the enemies attack behind you...



This will happen.





How to Use


[*]Place this below default and most non-aliased scripts.
[*]Not compatible and has problems with 8-directional movement and pixel movement scripts.
[*]Not recommended if followers are shown.
[*]"Encounter Half" and "Encounter None" party abilities do not work for evented encounters but "Raise Preemptive" and "Cancel Surprise" does work.
Demo

Not needed.

Script

Preemptive-Surprise Event Battle

Known Bugs
None so far.

Author's Notes


[*]This script is free to use commercially or not. If commercially, you must credit me. If not, just don't claim this as your own but not crediting me is okay if you don't want to.



本贴来自国际rpgmaker官方论坛作者:Jeneeus Guruman处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/preemptive-surprise-event-battle.40819/
页: [1]
查看完整版本: Preemptive-Surprise Event Battle