updated TOC
fixed gossip selection bug
This commit is contained in:
parent
938033ded7
commit
ef3f6d6f91
@ -408,7 +408,6 @@ function TI_HandleGossipWindow(gorq)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
local ListEntry = {};
|
local ListEntry = {};
|
||||||
for i,v in ipairs(AvailableQuests) do
|
for i,v in ipairs(AvailableQuests) do
|
||||||
local x={};
|
local x={};
|
||||||
@ -478,7 +477,6 @@ function TI_HandleGossipWindow(gorq)
|
|||||||
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];
|
||||||
@ -505,9 +503,10 @@ function TI_HandleGossipWindow(gorq)
|
|||||||
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
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
## Interface: 50000
|
## Interface: 50001
|
||||||
## X-Compatible-With: 50000
|
## 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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user