updated TOC
fixed gossip selection bug
This commit is contained in:
parent
938033ded7
commit
ef3f6d6f91
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user