Selaa lähdekoodia

fixed a bug introduced in 09a9c70811 this is the right fix now...I think

(cherry picked from commit 598c507c66)
tags/v0.8.0.4
Shaun 3 vuotta sitten
committed by Big Bad Waffle
vanhempi
commit
348645b3f8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/server/config/spells/spellTemplate.js

+ 1
- 1
src/server/config/spells/spellTemplate.js Näytä tiedosto

@@ -64,7 +64,7 @@ module.exports = {
updateBase: function () {
if (this.castTime > 0) {
let action = this.currentAction;
if (_.getDeepProperty(action, 'target.destroyed') || (action && !this.canCast(action.target))) {
if (action && (_.getDeepProperty(action, 'target.destroyed') || !this.canCast(action.target))) {
this.currentAction = null;
this.castTime = 0;
this.obj.syncer.set(false, null, 'casting', 0);


Ladataan…
Peruuta
Tallenna