浏览代码

updated TOC

fixed gossip selection bug
tags/2.1.4
SabinDeus 13 年前
父节点
当前提交
ef3f6d6f91
共有 2 个文件被更改,包括 6 次插入7 次删除
  1. 4
    5
      TurnIn.lua
  2. 2
    2
      TurnIn.toc

+ 4
- 5
TurnIn.lua 查看文件

SAcQ=SelectActiveQuest; SAcQ=SelectActiveQuest;
SAvQ=SelectAvailableQuest; SAvQ=SelectAvailableQuest;
end end
local ListEntry = {}; local ListEntry = {};
for i,v in ipairs(AvailableQuests) do for i,v in ipairs(AvailableQuests) do
local x={}; local x={};
return; return;
end end
TI_debug(npcname); TI_debug(npcname);
if(TI_NPCDB[npcname]) then if(TI_NPCDB[npcname]) then
local thisnpc = TI_NPCDB[npcname]; local thisnpc = TI_NPCDB[npcname];
return; return;
end end
end end
elseif (current.type == "gossip") then
else
for i2,v2 in ipairs(GossipOptions) do for i2,v2 in ipairs(GossipOptions) do
if (v2.name == current.name) then if (v2.name == current.name) then
TI_debug(i1.."-Gossip Match Found: "..current.name..", "..current.type);
SelectGossipOption(i2); SelectGossipOption(i2);
return; return;
end end

+ 2
- 2
TurnIn.toc 查看文件

## Interface: 50000
## X-Compatible-With: 50000
## Interface: 50001
## X-Compatible-With: 50001
## Title: Turn In ## Title: Turn In
## Notes: Automates the selection of quest and gossip options. ## Notes: Automates the selection of quest and gossip options.
## SavedVariables: TI_status, TI_NPCDB, TI_NPCIndex ## SavedVariables: TI_status, TI_NPCDB, TI_NPCIndex

正在加载...
取消
保存