瀏覽代碼

fixes #518

tags/v0.1.10^2
Big Bad Waffle 6 年之前
父節點
當前提交
98a95136e1
共有 1 個文件被更改,包括 16 次插入7 次删除
  1. +16
    -7
      src/server/config/quests/templates/questLoot.js

+ 16
- 7
src/server/config/quests/templates/questLoot.js 查看文件

@@ -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();


Loading…
取消
儲存