function q52108_OnComplete(MapID, InstanceID, QuestID, RoleID, NPCID) local quest = {52108,52109,52110,52111} local FamilyID = role.GetRoleFamilyID(MapID, InstanceID, RoleID) if FamilyID ~= nil and FamilyID ~= 4294967295 then local DragoLevel,_,_,_ = Dragon(FamilyID,0,0,1,0) local k = get_key_for_value( quest, QuestID ) if QuestID == quest[k] then if tonumber(DragoLevel)