Explorar el Código

fixed a crash that happened when gathering herbs

tags/v0.1.10^2
big bad waffle hace 6 años
padre
commit
5c9cdae690
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      src/server/components/gatherer.js
  2. +1
    -1
      src/server/items/config/types.js

+ 1
- 1
src/server/components/gatherer.js Ver fichero

@@ -194,7 +194,7 @@ define([
if (!gatherResult.noChangeAmount)
resourceNode.gather();

this.obj.stats.getXp(gatherResult.xp, gatherResult.obj);
this.obj.stats.getXp(gatherResult.xp, this.obj, gatherResult.obj);

if (gathering.destroyed) {
if (isFish) {


+ 1
- 1
src/server/items/config/types.js Ver fichero

@@ -228,7 +228,7 @@ define([
manaCost: 0,
range: 9,
random: {
damage: [2, 7.6]
damage: [2, 15]
}
}
},


Cargando…
Cancelar
Guardar