Procházet zdrojové kódy

mobs will stop casting if you run away too far

tags/v0.3.0
Big Bad Waffle před 5 roky
rodič
revize
9053b1335a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/server/config/spells/spellTemplate.js

+ 1
- 1
src/server/config/spells/spellTemplate.js Zobrazit soubor

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


Načítá se…
Zrušit
Uložit