设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker VA 讨论区 › DoubleX RMVXA Confusion Edit: DoubleX RMVXA Confusion Edit-2.jpg

DoubleX RMVXA Confusion Edit: DoubleX RMVXA Confusion Edit-2.jpg

 

DoubleX RMVXA Confusion Edit:
DoubleX RMVXA Confusion Edit  v1.02f
    by DoubleX
​


Introduction

If a battler has inflicted states with restrictions "attack an enemy", "attack anyone" or "attack an ally", he/she/it'll attack the respective targets via autobattle like actions with the autobattle flag unchanged.
This is done by reversing his/her/its identifications of allies and enemies(allies are identified as enemies and vice versa) with 50% and 100% chance with "attack anyone" and "attack an ally" respectively.
The battler won't just use "Attack"(skill #1), but instead will use all available skills. Actors will randomly pick actions as if they've autobattle flags; Enemies will pick actions according to their action patterns.

Spoiler: Configurations
                Ruby:       


Features
Use of notetags(requires knowledge of notetag usage) to set specific states with those restrictions to have the edited confusion effects
A way to set all states with those restrictions to have edited confusion effects without using notetags(and ignoring them)

Screenshots







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:
- evaluate_item_with_target, friends_unit, opponents_unit, prepare, valid?, make_targets, confusion_target, targets_for_opponents or targets_for_friends under class Game_Action
- make_actions under class Game_Actor
may have compatibility issues with this script
Place this script above those aliasing any of these methods if possible

Changelog
v1.02f(GMT 0200 6-6-2020):
- Fixed actions having no targets not executing bug
v1.02e(GMT 0100 13-8-2015):
- Fixed some syntax errors and typos
v1.02d(GMT 1400 7-7-2015):
- Improved this script's efficiency and readability
v1.02c(GMT 0000 2-6-2014):
- Fixed bugs on adding stuff other than damage in custom damage formula
v1.02b(GMT 0300 22-3-2014):
- Fixed bugs on <exclude self> notetag implementations
v1.02a(GMT 0600 21-3-2014):
- Added <exclude self> notetag
v1.01b (GMT 0000 17-1-2014):
- Methods are aliased rather than rewritten
v1.01a (GMT 0000 3-1-2014):
- Added <confusion edit> notetag to enable confusion edit for states
v1.00a (GMT 1600 1-1-2014):
- 1st version of this script finished


本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/doublex-rmvxa-confusion-edit.21765/
DoubleX RMVXA Confusion Edit: DoubleX RMVXA Confusion Edit-2.jpg
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

社区每日抽奖来袭,快来试试你是欧皇还是非酋~

立即查看

Loading...

QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

GMT+8, 2026-10-5 03:46 , Processed in 0.086278 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部