1
0
Bifurcation 0

Fixed a few errors that occured, as my gf would say, 'between the chair and the keyboard.'

Cette révision appartient à :
Nathanial.C.Jones 2011-01-22 02:44:34 +00:00
Parent 790b1c9c78
révision 6d4b5e6992
2 fichiers modifiés avec 3 ajouts et 3 suppressions

Voir le fichier

@ -35,7 +35,7 @@ local recentlySeenCritters_NextTrash = {}
local recentlySeenCritters_Recent = {}
local function AccumulateFrequency(target, name, data)
if not target[name] then target[name] = {}
if not target[name] then target[name] = {} end
target[name][data] = (target[name][data] or 0) + 1
--local key = name .. "_" .. tostring(data)
--target[key] = (target[key] or 0) + 1

Voir le fichier

@ -78,12 +78,12 @@ local function ScanQuests()
RegisterQuestData("choice", QHCQ[id], GetQuestLogChoiceInfo)
--QuestHelper:TextOut(string.format("%d", GetNumQuestLeaderBoards(index)))
if not QHCQ[id][criteria] then QHCQ[id][criteria] = {} end
if not QHCQ[id]["criteria"] then QHCQ[id]["criteria"] = {} end
for i = 1, GetNumQuestLeaderBoards(index) do
local desc, typ = GetQuestLogLeaderBoard(i, index)
local criterion = { text = desc, type = typ }
QHCQ[id][criteria][tostring(i)] = criterion
QHCQ[id]["criteria"][tostring(i)] = criterion
--QHCQ[id][string.format("criteria_%d_text", i)] = desc
--QHCQ[id][string.format("criteria_%d_type", i)] = type
--QuestHelper:TextOut(string.format("%s, %s", desc, type))