mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
bugs
This commit is contained in:
+4
-3
@@ -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() {
|
||||
|
||||
@@ -1745,7 +1745,7 @@ Events.Executioner = {
|
||||
buttons: {
|
||||
'continue': {
|
||||
text: _('continue'),
|
||||
nextScene: { 1: '7-1' }
|
||||
nextScene: { 1: '8' }
|
||||
},
|
||||
'leave': {
|
||||
text: _('leave'),
|
||||
|
||||
Reference in New Issue
Block a user