Browse Source

bug[#1615]: Targetting something no longer consumes a tick

tags/v0.8.2
Shaun 3 years ago
parent
commit
7f47a622a2
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/server/components/spellbook.js

+ 5
- 1
src/server/components/spellbook.js View File

@@ -326,8 +326,12 @@ module.exports = {

cast: function (action, isAuto) {
if (!action.has('spell')) {
const isCasting = this.isCasting();
this.stopCasting();
return true;

const consumeTick = isCasting;

return consumeTick;
}

let spell = this.spells.find(s => (s.id === action.spell));


Loading…
Cancel
Save