level 2
TypeError: Failed to execute'createLinearGradient'on
'CanvasRenderingContext2D': The provided double value is non-finite.
at Bitmap.gradientFillRect (rpg_core.js:1289:24)
at Bitmap.gradientFillRect (YEP CoreEngine.js:922:39)
at Window_BattleStatus. Window_Base.drawGauge (YEP_CoreEngine.js:2354:17)
at Window BattleStatus. Window Base.drawActorMp (rpg_windows.js:566:10)
at Window BattleStatus.Window Base.drawActorMp (YEP SkillCore.js:1149: 44)
at Window BattleStatus.drawGaugeAreaWithTp(YEP_X_BattleSysATB.js:2373:10)
at Window BattleStatus.drawGaugeArea (rpg_windows.js:5523:14)
at Window BattleStatus.drawltem (rpg_windows.js:5496:10)
at Window BattleStatus.processStatusRefresh (YÉP_BatleEngineCore.js:5070:10)
at Window BattleStatus.updateStatusRequests(YEP_BattleEngineCore.js:5061:50)
Press F5 to restart the game.
——上面这段是白描网页版,下面这段是百度翻译的,或许让AI来翻译会好一点。——
游戏遇到了一个bug。请报告。
类型错误:在上执行“创建线性梯度”失败
'CanvasRenderingContext2D':提供的double值是非有限的。
在Bitmap.gradientFillRect上(rpg_core.js:1289:24)
在Bitmap.gradientFillRect上(YEP CoreEngine.js:922:39)
在Window_BattleStatus中。Window_Base.drawGauge(YEP_CoreEngine.js:2354:17)
在窗口战斗状态。Window Base.drawActorMp(rpg_windows.js:566:10)
在窗口战斗状态。Window Base.drawActorMp(YEP SkillCore.js:1149:44)
在窗口战况.drawGaugeAreaWithTp(YEP_X_BattleSysATB.js:2373:10)
在窗口战斗状态.drawGaugeArea(rpg_windows.js:5523:14)
在窗口战斗状态.drawltem(rpg_windows.js:5496:10)
在窗口战况.进程状态刷新(YÉP_BatleEngineCore.js:5070:10)
在窗口战况更新状态请求(YEP_BattleEngineCore.js:5061:50)
按F5重新开始游戏。
CanvasRenderingContext2D——画布渲染上下文2D
Bitmap.gradientFillRect——位图.梯度填充校正
我随便猜一猜吧,
可能是YEP_X_BattleSysATB.js这个插件的位置放在了YEP_BattleEngineCore的上面。
因为总的核心插件要放在分类核心的插件上面,
分类核心的插件要放在该分类的插件上面。
写插件的人,既然说明了哪个插件是核心插件,
那就是他很多的其他插件需要用到这个插件。
因为,如果每一个插件都要使用同一类函数的话,
每一个插件都写一次,就太臃肿了,也可能互相冲突。
在核心插件写一次,然后其他插件直接调用可能会更好。
【汉化】YEP.24 - Battle System – Active Turn Battle - 简书
jianshu.com/p/6e663220c3ca
——上面这个网页有下面这一段。——
The Battle System - Active Turn Battle是一个基于Yanfly大神Battle Engine Core插件的拓展插件,
所以它无法脱离核心战斗插件独立工作,安装时务必将该插件放置于战斗核心插件-Battle Engine Core下方,
要启用ATB战斗系统,请在战斗核心插件的配置中,将Default System 选项由dtb修改为atb即可。
