Kaynağa Gözat

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

tags/v0.8.0.6^2
Shaun 3 yıl önce
ebeveyn
işleme
598c507c66
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      src/server/config/spells/spellTemplate.js

+ 1
- 1
src/server/config/spells/spellTemplate.js Dosyayı Görüntüle

@@ -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);


Yükleniyor…
İptal
Kaydet