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

DoubleX RMVXA Reflect State

DoubleX RMVXA Reflect State v1.00b
by DoubleX​

Compatibility Fix

http://forums.rpgmakerweb.com/index.php?/topic/22991-doublex-rmvxa-reflect-state-compatibility-fix/

Introduction

If a battler has inflicted a reflect state, he/she/it'll always reflect non certain hit skills and items from anyone to enemies.

Spoiler#==============================================================================|#** You only need to edit this part as it's about what this script does      |#------------------------------------------------------------------------------|module DoubleX_RMVXAmodule Reflect_State#------------------------------------------------------------------------------|#* REFLECT_PHYSICAL, default = false                                       |#    Reflect state applies to physical attacks                                 |#------------------------------------------------------------------------------|REFLECT_PHYSICAL = false#------------------------------------------------------------------------------|#* REFLECT_MAGICAL, default = true                                           |#    Reflect state applies to magical attacks                                  |#------------------------------------------------------------------------------|REFLECT_MAGICAL = true#------------------------------------------------------------------------------|#* REFLECT_TO_ENEMY_CASTER, default = true                                 |#    Reflect state always reflects skills and items back to their casters if   |#    they're enemies                                                         |#------------------------------------------------------------------------------|REFLECT_TO_ENEMY_CASTER = trueend # Confusion_Editend # DoubleX_RMVXA#==============================================================================|



Features

Use of notetags(requires knowledge of notetag usage) to set specific states to reflect non certain hit skills and items from anyone to enemies

Screenshots

Spoiler









How to use

Open the script editor and put this script into an open slot between Materials and Main. Save to take effect.

FAQ

None

Credit and Thanks

DoubleX(Giving me credit is completely optional)

No terms of use other than not claiming this script as created by anyone except DoubleX or his alias

Compatibility

Scripts aliasing or rewriting method:

- self.load_database under module DataManager

- invoke_item under class Scene_Battle

may have compatibility issues with this script

Place this script above those aliasing any of these methods if possible

Changelog

v1.00b(GMT 0300 16-9-2017):
- Fixed reflecting to nil battlers bug
v1.00a (GMT 0800 27-1-2014):
- 1st version of this script finished


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