updated TOC

fixed gossip selection bug
This commit is contained in:
SabinDeus 2012-08-28 05:50:38 +00:00
parent 938033ded7
commit ef3f6d6f91
2 changed files with 6 additions and 7 deletions

View File

@ -408,7 +408,6 @@ function TI_HandleGossipWindow(gorq)
end
local ListEntry = {};
for i,v in ipairs(AvailableQuests) do
local x={};
@ -478,7 +477,6 @@ function TI_HandleGossipWindow(gorq)
return;
end
TI_debug(npcname);
if(TI_NPCDB[npcname]) then
local thisnpc = TI_NPCDB[npcname];
@ -505,9 +503,10 @@ function TI_HandleGossipWindow(gorq)
return;
end
end
elseif (current.type == "gossip") then
else
for i2,v2 in ipairs(GossipOptions) do
if (v2.name == current.name) then
TI_debug(i1.."-Gossip Match Found: "..current.name..", "..current.type);
SelectGossipOption(i2);
return;
end

View File

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