Explorar el Código

bug #2022

tags/v0.14.1.4^2
Shaun hace 1 mes
padre
commit
6b7d8c4d6f
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. +2
    -1
      src/server/config/spells/spellCharge.js
  2. +2
    -1
      src/server/config/spells/spellFireblast.js

+ 2
- 1
src/server/config/spells/spellCharge.js Ver fichero

@@ -149,7 +149,8 @@ module.exports = {
},

destroyEffectOnTarget: function (target, targetEffect) {
target.effects.removeEffect(targetEffect.id);
if (targetEffect)
target.effects.removeEffect(targetEffect.id);
},

isTileValid: function (physics, fromX, fromY, toX, toY) {


+ 2
- 1
src/server/config/spells/spellFireblast.js Ver fichero

@@ -211,6 +211,7 @@ module.exports = {
},

destroyEffectOnTarget: function (target, targetEffect) {
target.effects.removeEffect(targetEffect.id);
if (targetEffect)
target.effects.removeEffect(targetEffect.id);
}
};

Cargando…
Cancelar
Guardar