diff --git a/commands/cast.js b/commands/cast.js index 4efdd81..0eeeed5 100644 --- a/commands/cast.js +++ b/commands/cast.js @@ -22,6 +22,6 @@ module.exports = { player.emit('useAbility', spell, targetArgs); }, label: `cast ${args}`, - }, spell.lag || state.Config.get('skillLag') || 1000); + }, spell.lag !== undefined ? spell.lag : (state.Config.get('skillLag') || 1000)); } }; diff --git a/skills/heal.js b/skills/heal.js index b0e3078..dc17efa 100644 --- a/skills/heal.js +++ b/skills/heal.js @@ -23,6 +23,7 @@ module.exports = { cost: energyCost, }, cooldown: 10, + lag: 1000, run: state => function (args, player, target) { const heal = new Heal('health', getHeal(player), player, this);