1
0
Bifurcation 0

OK, I'm sure this is fixed this time. It helps to pay attention to the field names.

Cette révision appartient à :
Nathanial.C.Jones 2011-01-21 02:38:12 +00:00
Parent 02182cf8c5
révision a9eaf57e95
1 fichiers modifiés avec 5 ajouts et 10 suppressions

Voir le fichier

@ -523,17 +523,12 @@ local function LootOpened()
else
--if debug_output then QuestHelper:TextOut("Who knows") end -- ugh
local loc = GetLoc()
assert(loc.delayed)
assert(loc.c)
assert(loc.z)
assert(loc.x)
assert(loc.y)
if not QHC.worldloot then QHC.worldloot = {} end
if not QHC.worldloot[loc.delayed] then QHC.fishing[loc.delayed] = {} end
if not QHC.worldloot[loc.delayed][loc.c] then QHC.fishing[loc.delayed][loc.c] = {} end
if not QHC.worldloot[loc.delayed][loc.c][loc.z] then QHC.fishing[loc.delayed][loc.c][loc.z] = {} end
if not QHC.worldloot[loc.delayed][loc.c][loc.z][loc.x] then QHC.fishing[loc.delayed][loc.c][loc.z][loc.x] = {} end
if not QHC.worldloot[loc.delayed][loc.c][loc.z][loc.x][loc.y] then QHC.fishing[loc.delayed][loc.c][loc.z][loc.x][loc.y] = {} end
if not QHC.worldloot[loc.delayed] then QHC.worldloot[loc.delayed] = {} end
if not QHC.worldloot[loc.delayed][loc.c] then QHC.worldloot[loc.delayed][loc.c] = {} end
if not QHC.worldloot[loc.delayed][loc.c][loc.z] then QHC.worldloot[loc.delayed][loc.c][loc.z] = {} end
if not QHC.worldloot[loc.delayed][loc.c][loc.z][loc.x] then QHC.worldloot[loc.delayed][loc.c][loc.z][loc.x] = {} end
if not QHC.worldloot[loc.delayed][loc.c][loc.z][loc.x][loc.y] then QHC.worldloot[loc.delayed][loc.c][loc.z][loc.x][loc.y] = {} end
spot = QHC.worldloot[loc.delayed][loc.c][loc.z][loc.x][loc.y]
prefix = "loot"