Skip to content

Commit

Permalink
bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Continuities committed Jun 12, 2023
1 parent 7ee96fd commit 4c683dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions script/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion script/events/executioner.js
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ Events.Executioner = {
buttons: {
'continue': {
text: _('continue'),
nextScene: { 1: '7-1' }
nextScene: { 1: '8' }
},
'leave': {
text: _('leave'),
Expand Down

0 comments on commit 4c683dd

Please sign in to comment.