Explorar el Código

fixes #518

tags/v0.1.10^2
Big Bad Waffle hace 6 años
padre
commit
98a95136e1
Se han modificado 1 ficheros con 16 adiciones y 7 borrados
  1. +16
    -7
      src/server/config/quests/templates/questLoot.js

+ 16
- 7
src/server/config/quests/templates/questLoot.js Ver fichero

@@ -66,13 +66,22 @@ define([

events: {
afterLootMobItem: function (item) {
if (this.obj.zoneName != this.zoneName)
return;
else if ((this.quality) && (item.quality != this.quality))
return;
else if ((this.slot.indexOf) && (this.slot.indexOf(item.slot) == -1))
return
else if ((!this.slot.indexOf) && (this.slot != item.slot))
if (
(this.isReady) ||
(this.obj.zoneName != this.zoneName) ||
(
(this.quality) &&
(item.quality != this.quality)
) ||
(
(this.slot.indexOf) &&
(this.slot.indexOf(item.slot) == -1)
) ||
(
(!this.slot.indexOf) &&
(this.slot != item.slot)
)
)
return;

this.ready();


Cargando…
Cancelar
Guardar