ATB plugin broke some custom state effects? I made sure to disable all other plugins (save for Core ones). It only works when using default battle system.
I followed your Toxic tutorial (the state has no other options set other than the note tags)
<Custom Apply Effect>
this._toxicCounter = 1;
</Custom Apply Effect>
<Custom Regenerate Effect>
var n = this._toxicCounter / 16;
var value = Math.floor(n * user.mhp * -1);
user.gainHp(value);
this._toxicCounter += 1;
</Custom Regenerate Effect>
The Custom Regenerate effect crashes the game with this:
ypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 3 is non-finite.
at TypeError (native)
at Bitmap.gradientFillRect (file:///C:/Juances/Games/Test/js/rpg_core.js:781:24)
at Bitmap.gradientFillRect (file:///C:/Juances/Games/Test/js/plugins/YEP_CoreEngine.js:596:41)
at Window_BattleStatus.Window_Base.drawGauge (file:///C:/Juances/Games/Test/js/plugins/YEP_CoreEngine.js:1312:17)
at Window_BattleStatus.Window_Base.drawActorHp (file:///C:/Juances/Games/Test/js/rpg_windows.js:555:10)
at Window_BattleStatus.Window_Base.drawActorHp (file:///C:/Juances/Games/Test//js/plugins/YEP_SkillCore.js:1034:44)
at Window_BattleStatus.drawGaugeAreaWithTp (file:///C:/Juances/Games/Test//js/plugins/YEP_CoreEngine.js:1645:10)
at Window_BattleStatus.drawGaugeAreaWithTp (file:///C:/Juances/Games/Test/y/js/plugins/YEP_X_BattleSysATB.js:2124:56)
at Window_BattleStatus.drawGaugeArea (file:///C:/Juances/Games/Test/js/rpg_windows.js:5511:14)
at Window_BattleStatus.drawItem (file:///C:/Juances/Games/Test/js/rpg_windows.js:5484:10)rpg_managers.js:1618 SceneManager.catchExceptionrpg_managers.js:1579 SceneManager.update
I followed your Toxic tutorial (the state has no other options set other than the note tags)
<Custom Apply Effect>
this._toxicCounter = 1;
</Custom Apply Effect>
<Custom Regenerate Effect>
var n = this._toxicCounter / 16;
var value = Math.floor(n * user.mhp * -1);
user.gainHp(value);
this._toxicCounter += 1;
</Custom Regenerate Effect>
The Custom Regenerate effect crashes the game with this:
ypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 3 is non-finite.
at TypeError (native)
at Bitmap.gradientFillRect (file:///C:/Juances/Games/Test/js/rpg_core.js:781:24)
at Bitmap.gradientFillRect (file:///C:/Juances/Games/Test/js/plugins/YEP_CoreEngine.js:596:41)
at Window_BattleStatus.Window_Base.drawGauge (file:///C:/Juances/Games/Test/js/plugins/YEP_CoreEngine.js:1312:17)
at Window_BattleStatus.Window_Base.drawActorHp (file:///C:/Juances/Games/Test/js/rpg_windows.js:555:10)
at Window_BattleStatus.Window_Base.drawActorHp (file:///C:/Juances/Games/Test//js/plugins/YEP_SkillCore.js:1034:44)
at Window_BattleStatus.drawGaugeAreaWithTp (file:///C:/Juances/Games/Test//js/plugins/YEP_CoreEngine.js:1645:10)
at Window_BattleStatus.drawGaugeAreaWithTp (file:///C:/Juances/Games/Test/y/js/plugins/YEP_X_BattleSysATB.js:2124:56)
at Window_BattleStatus.drawGaugeArea (file:///C:/Juances/Games/Test/js/rpg_windows.js:5511:14)
at Window_BattleStatus.drawItem (file:///C:/Juances/Games/Test/js/rpg_windows.js:5484:10)rpg_managers.js:1618 SceneManager.catchExceptionrpg_managers.js:1579 SceneManager.update

