じ☆ve冰风 发表于 2026-7-26 15:32:49

Poison Flash on Damage Fix (Now with Customization!)

TDW Poison Flash on Damage Fix - v 1.01


        wrigty12


Intro - After installing plugins, I noticed that the typical red "flash" on a map when taking damage from states like Poison did not end up working. Upon research throughout the forums and internet, I could not find a fix. Thus, I created one. This works for my specific project, but it should work with most others.


        Later on, I decided to add in options to make the flash more customizable. 


Features:


        - Creates a workaround to allow a "flash" upon taking regenerationHp damage on a map.


        - Allows you to alter the number of steps it takes for a state's "Turn" to pass while walking


        - Allows you to change the color and duration of the flash.


        - Allows you to have a Sound Effect play when the flash occurs.


How To Use - Simply download, place in your js file, and install under most other plugins!


Parameters:

Spoiler-Steps For Turn: This is how many steps it takes for one "Turn" to pass for a state when walking (I.e. Steps between flash). Default = 20


                        -SE File Name: Provide the file name of the Sound Effect you want to play on flash. (Leave blank for none) Default = Poison


                        -SE Volume: Provide the volume (0-100) of the Sound Effect on flash. Default = 80


                        -SE Pitch: Provide the pitch (50-150) of the Sound Effect on flash. Default = 100


                        -SE Pan: Provide the pan (-100-100) of the Sound Effect on flash. Default = 0


                        -Flash Color Change: 4 Different parameters to change the Red, Green, Blue, and Duration of the RGB flash color.






Note Tags - None.


Future Plans - If any issues arise, I will try to fix them. Will take suggestions for any additional customizations.


Change Log:

Spoiler Version 1.01:
                         - Added in the option to change the color of the flash.
                         - Added in the option to have a Sound Effect play with flash.
                         - Added in the option to change the Step Count for a State's walking turn.
                         


                        Version 1.00:
                         - Initial release






Terms of Use - Free for commercial and non-commercial use. Feel free to credit: wrigty12 or Tyler Wright


Download - Link Here


Note - I am a beginner in the ways of making plug-ins and in JavaScript. If there is anything you see wrong, could be improved, or bugs you find, just let me know.


本贴来自国际rpgmaker官方论坛作者:wrigty12处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/poison-flash-on-damage-fix-now-with-customization.64062/
页: [1]
查看完整版本: Poison Flash on Damage Fix (Now with Customization!)