Переглянути джерело

fixed a crash that happened when gathering herbs

tags/v0.1.10^2
big bad waffle 6 роки тому
джерело
коміт
5c9cdae690
2 змінених файлів з 2 додано та 2 видалено
  1. +1
    -1
      src/server/components/gatherer.js
  2. +1
    -1
      src/server/items/config/types.js

+ 1
- 1
src/server/components/gatherer.js Переглянути файл

@@ -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 Переглянути файл

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


Завантаження…
Відмінити
Зберегти