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) {
|
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() {
|
||||||
|
|||||||
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user