Przeglądaj źródła

another fix for #1045

tags/v0.4^2
Big Bad Waffle 4 lat temu
rodzic
commit
8eec2d0d73
1 zmienionych plików z 3 dodań i 1 usunięć
  1. +3
    -1
      src/server/config/quests/templates/questGatherResource.js

+ 3
- 1
src/server/config/quests/templates/questGatherResource.js Wyświetl plik

@@ -60,8 +60,10 @@ module.exports = {
return;
else if ((this.requiredQuality) && (gatherResult.items[0].quality < this.requiredQuality))
return;
else if (gatherResult.items[0].stats === undefined)
else if (gatherResult.items[0].name.toLowerCase() === 'cerulean pearl') {
//This is a hack but we have no other way to tell fish from pearls at the moment
return;
}

if ((this.obj.zoneName !== this.zoneName) || (this.have >= this.need))
return;


Ładowanie…
Anuluj
Zapisz