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) { if (venomous && !shielded) {
clearInterval(Events._dotTimer);
Events._dotTimer = setInterval(() => { Events._dotTimer = setInterval(() => {
Events.dotDamage(enemy, Math.floor(dmg / 2)); Events.dotDamage(enemy, Math.floor(dmg / 2));
}, Events.DOT_TICK); }, Events.DOT_TICK);
@@ -763,9 +764,9 @@ var Events = {
}, },
clearTimeouts: () => { clearTimeouts: () => {
clearTimeout(Events._enemyAttackTimer); clearInterval(Events._enemyAttackTimer);
Events._specialTimers.forEach(clearTimeout); Events._specialTimers.forEach(clearInterval);
clearTimeout(Events._dotTimer); clearInterval(Events._dotTimer);
}, },
endFight: function() { endFight: function() {
+1 -1
View File
@@ -1745,7 +1745,7 @@ Events.Executioner = {
buttons: { buttons: {
'continue': { 'continue': {
text: _('continue'), text: _('continue'),
nextScene: { 1: '7-1' } nextScene: { 1: '8' }
}, },
'leave': { 'leave': {
text: _('leave'), text: _('leave'),