This commit is contained in:
Michael Townsend
2023-06-12 10:20:28 -04:00
parent 7ee96fd108
commit 4c683dd397
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -639,6 +639,7 @@ var Events = {
}
if (venomous && !shielded) {
clearInterval(Events._dotTimer);
Events._dotTimer = setInterval(() => {
Events.dotDamage(enemy, Math.floor(dmg / 2));
}, Events.DOT_TICK);
@@ -763,9 +764,9 @@ var Events = {
},
clearTimeouts: () => {
clearTimeout(Events._enemyAttackTimer);
Events._specialTimers.forEach(clearTimeout);
clearTimeout(Events._dotTimer);
clearInterval(Events._enemyAttackTimer);
Events._specialTimers.forEach(clearInterval);
clearInterval(Events._dotTimer);
},
endFight: function() {
+1 -1
View File
@@ -1745,7 +1745,7 @@ Events.Executioner = {
buttons: {
'continue': {
text: _('continue'),
nextScene: { 1: '7-1' }
nextScene: { 1: '8' }
},
'leave': {
text: _('leave'),